game.renderer und wondow.renderer
This commit is contained in:
parent
4f51654b72
commit
c461b2af84
@ -115,8 +115,6 @@ void renderGame(){
|
|||||||
|
|
||||||
|
|
||||||
int CreateSDLWindow(){
|
int CreateSDLWindow(){
|
||||||
|
|
||||||
|
|
||||||
// Erstelle ein SDL-Fenster
|
// Erstelle ein SDL-Fenster
|
||||||
game.window = SDL_CreateWindow("Snake", 350, 50, config.windowSize, config.windowSize, SDL_WINDOW_OPENGL);
|
game.window = SDL_CreateWindow("Snake", 350, 50, config.windowSize, config.windowSize, SDL_WINDOW_OPENGL);
|
||||||
if (game.window == NULL) {
|
if (game.window == NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user