Move the main header with SDL_MAIN_USE_CALLBACKS

This commit is contained in:
Sam Lantinga 2024-06-04 10:42:44 -07:00
parent 5eeeaf4780
commit 60396971ce

View File

@ -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;