game.renderer und wondow.renderer

This commit is contained in:
Julia09055x 2023-12-12 11:56:33 +01:00
parent 4f51654b72
commit c461b2af84

View File

@ -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) {