First pass at changing SDL 2.0 to SDL 3.0

This commit is contained in:
Sam Lantinga committed 2022-11-21 20:28:58 -08:00
1 parent 0bfeed061b
commit 2c4159b99a
146 files changed
+2633 -2635

No files matched your search

+3 -3
View File
@@ -29,10 +29,10 @@ main(int argc, char *argv[])
/* Enable standard application logging */
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
#if SDL_VERSION_ATLEAST(2, 0, 0)
SDL_Log("Compiled with SDL 2.0 or newer\n");
#if SDL_VERSION_ATLEAST(3, 0, 0)
SDL_Log("Compiled with SDL 3.0 or newer\n");
#else
SDL_Log("Compiled with SDL older than 2.0\n");
SDL_Log("Compiled with SDL older than 3.0\n");
#endif
SDL_VERSION(&compiled);
SDL_Log("Compiled version: %d.%d.%d (%s)\n",