include/SDL_config_winrt.h
changeset 8541 0041edb891f3
parent 8517 d7d86c917b1d
child 8546 b09dc0606036
     1.1 --- a/include/SDL_config_winrt.h	Fri Nov 01 22:54:39 2013 -0400
     1.2 +++ b/include/SDL_config_winrt.h	Mon Nov 04 19:54:29 2013 -0500
     1.3 @@ -166,6 +166,15 @@
     1.4  #define SDL_VIDEO_DRIVER_WINRT	1
     1.5  #define SDL_VIDEO_DRIVER_DUMMY  1
     1.6  
     1.7 +/* Enable OpenGL ES 2.0 (via a modified ANGLE library) */
     1.8 +#if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP    /* TODO, WinRT: try adding OpenGL ES 2 support for Windows Phone 8 */
     1.9 +/* Uncomment the following two #defines to enable experimental OpenGL ES 2 support
    1.10 +   (via a WinRT port of the ANGLE library).
    1.11 +*/
    1.12 +//#define SDL_VIDEO_OPENGL_ES2 1
    1.13 +//#define SDL_VIDEO_OPENGL_EGL 1
    1.14 +#endif
    1.15 +
    1.16  // TODO, WinRT: Get a Direct3D 11 based renderer working in SDL.
    1.17  /* Enable appropriate renderer(s) */
    1.18  #define SDL_VIDEO_RENDER_D3D11  1