src/video/SDL_egl.c
changeset 8663 308e74493106
parent 8583 fb2933ca805f
child 8733 02b7b0448811
     1.1 --- a/src/video/SDL_egl.c	Fri Mar 21 10:40:15 2014 -0400
     1.2 +++ b/src/video/SDL_egl.c	Sat Mar 22 20:48:18 2014 -0400
     1.3 @@ -216,6 +216,7 @@
     1.4      LOAD_FUNC(eglWaitGL);
     1.5      LOAD_FUNC(eglBindAPI);
     1.6      
     1.7 +#if !defined(__WINRT__)
     1.8      _this->egl_data->egl_display = _this->egl_data->eglGetDisplay(native_display);
     1.9      if (!_this->egl_data->egl_display) {
    1.10          return SDL_SetError("Could not get EGL display");
    1.11 @@ -224,6 +225,7 @@
    1.12      if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) {
    1.13          return SDL_SetError("Could not initialize EGL");
    1.14      }
    1.15 +#endif
    1.16  
    1.17      _this->egl_data->dll_handle = dll_handle;
    1.18      _this->egl_data->egl_dll_handle = egl_dll_handle;