From aa0ea3f66d752ed62a7d4cf84848db261c82a004 Mon Sep 17 00:00:00 2001 From: Jason Bou-Samra <154414066+bou-samra@users.noreply.github.com> Date: Fri, 16 Aug 2024 20:41:35 +1000 Subject: [PATCH] Update sdl.c --- src/sdl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sdl.c b/src/sdl.c index ba6be70..a9aec15 100644 --- a/src/sdl.c +++ b/src/sdl.c @@ -13,9 +13,9 @@ SDL_Surface* image; SDL_Texture * texture; ///////////////////////// WINDOW PARMS ///////////////////////// -#define WIDTH 1280 // pixels -#define HEIGHT 800 // pixels -#define TITLE "FUN COLUMNS" // window title +#define WIDTH 1280 // pixels +#define HEIGHT 800 // pixels +#define TITLE "FUN COLUMNS" // window title /////////////////////// INITIALIZE SDL ///////////////////////// int initSDL () { @@ -40,7 +40,7 @@ if (window == NULL) { } /////////////////////// SHUTDOWN SDL ///////////////////////// -int shutdownSDL () { +int shutdownSDL (void) { SDL_DestroyWindow (window); // free memory SDL_Quit (); // shutdown entire sdl sub-systems return 0;