src/video/SDL_egl.c
changeset 8545 7cf4f8916997
parent 8543 b9dd3cf38585
child 8583 fb2933ca805f
     1.1 --- a/src/video/SDL_egl.c	Thu Nov 28 22:24:13 2013 -0500
     1.2 +++ b/src/video/SDL_egl.c	Thu Nov 28 22:59:21 2013 -0500
     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 @@ -118,7 +118,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 @@ -131,7 +131,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 */