about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 54f5b1b..6b07e4e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -143,8 +143,8 @@ bool play_audio(int SoundEffect) {
 
 int main(int argc, char *argv[]) {
 	/* Raylib Init */
-	InitWindow(1280, 720, "Pong");
 	SDL_Init(SDL_INIT_AUDIO);
+	InitWindow(1280, 720, "Pong");
 	SDL_AtomicSet(&Ticks, 0);
 	SDL_Thread *InternalClock = SDL_CreateThread(internal_clock, "Internal Clock", NULL);
 	SetTargetFPS(60);