WinRT: enable the OpenGL ES 2 SDL_Renderer backend, if and when OpenGL ES 2 support is compiled in
This commit is contained in:
parent
603365be1e
commit
a4f050087d
4 changed files with 28 additions and 0 deletions
|
@ -179,6 +179,10 @@ typedef unsigned int uintptr_t;
|
|||
/* Enable appropriate renderer(s) */
|
||||
#define SDL_VIDEO_RENDER_D3D11 1
|
||||
|
||||
#if SDL_VIDEO_OPENGL_ES2
|
||||
#define SDL_VIDEO_RENDER_OGL_ES2 1
|
||||
#endif
|
||||
|
||||
/* Enable system power support */
|
||||
// TODO, WinRT: investigate system power support. The Win32-based APIs don't work on WinRT.
|
||||
#define SDL_POWER_DISABLED 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue