testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning.

main
Ozkan Sezer 2024-01-24 20:37:00 +03:00 committed by Ozkan Sezer
parent 6b3b7c7d4b
commit 205c417f74
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#include <stdlib.h> #include <stdlib.h>
#if defined(SDL_PLATFORM_IOS) || defined(SDL_PLATFORM_ANDROID) || defined(SDL_PLATFORM_EMSCRIPTEN) || defined(SDL_PLATFORM_WINDOWS) || defined(SDL_PLATFORM_LINUX) #if defined(SDL_PLATFORM_IOS) || defined(SDL_PLATFORM_ANDROID) || defined(SDL_PLATFORM_EMSCRIPTEN) || defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_LINUX)
#define HAVE_OPENGLES2 #define HAVE_OPENGLES2
#endif #endif

View File

@ -20,7 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#if defined(SDL_PLATFORM_IOS) || defined(SDL_PLATFORM_ANDROID) || defined(SDL_PLATFORM_EMSCRIPTEN) || defined(SDL_PLATFORM_WINDOWS) || defined(SDL_PLATFORM_LINUX) #if defined(SDL_PLATFORM_IOS) || defined(SDL_PLATFORM_ANDROID) || defined(SDL_PLATFORM_EMSCRIPTEN) || defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_LINUX)
#define HAVE_OPENGLES2 #define HAVE_OPENGLES2
#endif #endif