From 0d7d7af28a255a47903f0fbf908f94c56a0f72da Mon Sep 17 00:00:00 2001 From: Jason Bou-Samra <154414066+bou-samra@users.noreply.github.com> Date: Sat, 7 Sep 2024 20:49:26 +1000 Subject: [PATCH] Update sdl.c --- src/sdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdl.c b/src/sdl.c index a9aec15..5ab147b 100644 --- a/src/sdl.c +++ b/src/sdl.c @@ -18,7 +18,7 @@ SDL_Texture * texture; #define TITLE "FUN COLUMNS" // window title /////////////////////// INITIALIZE SDL ///////////////////////// -int initSDL () { +int initSDL() { SDL_Init (SDL_INIT_EVERYTHING); /* new window */ @@ -40,7 +40,7 @@ if (window == NULL) { } /////////////////////// SHUTDOWN SDL ///////////////////////// -int shutdownSDL (void) { +int shutdownSDL(void) { SDL_DestroyWindow (window); // free memory SDL_Quit (); // shutdown entire sdl sub-systems return 0;