Browse Source

Move the main header with SDL_MAIN_USE_CALLBACKS

Sam Lantinga 10 months ago
parent
commit
60396971ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testcamera.c

+ 1 - 1
test/testcamera.c

@@ -11,9 +11,9 @@
 */
 
 #define SDL_MAIN_USE_CALLBACKS 1
+#include <SDL3/SDL_main.h>
 #include <SDL3/SDL_test.h>
 #include <SDL3/SDL_test_common.h>
-#include <SDL3/SDL_main.h>
 
 static SDL_Window *window = NULL;
 static SDL_Renderer *renderer = NULL;