mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-01 07:28:30 +00:00
Define SDL_PLATFORM_* macros instead of underscored ones (#8875)
This commit is contained in:

committed by
GitHub

parent
ceccf24519
commit
31d133db40
@@ -33,7 +33,7 @@
|
||||
In all other cases, attempt to use client-side arrays, as they tend to
|
||||
be dramatically faster when not batching, and about the same when
|
||||
we are. */
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#ifdef SDL_PLATFORM_EMSCRIPTEN
|
||||
#define USE_VERTEX_BUFFER_OBJECTS 1
|
||||
#else
|
||||
#define USE_VERTEX_BUFFER_OBJECTS 0
|
||||
@@ -2100,7 +2100,7 @@ static SDL_Renderer *GLES2_CreateRenderer(SDL_Window *window, SDL_PropertiesID c
|
||||
goto error;
|
||||
}
|
||||
|
||||
#ifdef __WINRT__
|
||||
#ifdef SDL_PLATFORM_WINRT
|
||||
/* DLudwig, 2013-11-29: ANGLE for WinRT doesn't seem to work unless VSync
|
||||
* is turned on. Not doing so will freeze the screen's contents to that
|
||||
* of the first drawn frame.
|
||||
|
Reference in New Issue
Block a user