src/video/SDL_egl.c
changeset 8583 fb2933ca805f
parent 8149 681eb46b8ac4
parent 8545 7cf4f8916997
child 8663 308e74493106
     1.1 --- a/src/video/SDL_egl.c	Sun Mar 09 10:38:30 2014 -0700
     1.2 +++ b/src/video/SDL_egl.c	Sun Mar 09 11:36:47 2014 -0700
     1.3 @@ -41,7 +41,7 @@
     1.4  #define DEFAULT_OGL_ES_PVR "libGLES_CM.so"
     1.5  #define DEFAULT_OGL_ES "libGLESv1_CM.so"
     1.6  
     1.7 -#elif SDL_VIDEO_DRIVER_WINDOWS
     1.8 +#elif SDL_VIDEO_DRIVER_WINDOWS || SDL_VIDEO_DRIVER_WINRT
     1.9  /* EGL AND OpenGL ES support via ANGLE */
    1.10  #define DEFAULT_EGL "libEGL.dll"
    1.11  #define DEFAULT_OGL_ES2 "libGLESv2.dll"
    1.12 @@ -119,7 +119,7 @@
    1.13  {
    1.14      void *dll_handle = NULL, *egl_dll_handle = NULL; /* The naming is counter intuitive, but hey, I just work here -- Gabriel */
    1.15      char *path = NULL;
    1.16 -#if SDL_VIDEO_DRIVER_WINDOWS
    1.17 +#if SDL_VIDEO_DRIVER_WINDOWS || SDL_VIDEO_DRIVER_WINRT
    1.18      const char *d3dcompiler;
    1.19  #endif
    1.20  
    1.21 @@ -132,7 +132,7 @@
    1.22          return SDL_OutOfMemory();
    1.23      }
    1.24  
    1.25 -#if SDL_VIDEO_DRIVER_WINDOWS
    1.26 +#if SDL_VIDEO_DRIVER_WINDOWS || SDL_VIDEO_DRIVER_WINRT
    1.27      d3dcompiler = SDL_GetHint(SDL_HINT_VIDEO_WIN_D3DCOMPILER);
    1.28      if (!d3dcompiler) {
    1.29          /* By default we load the Vista+ compatible compiler */