src/video/windows/SDL_windowsopengles.c
changeset 8908 8333acde0b91
parent 8273 bdfea8962bcf
child 9619 b94b6d0bff0f
     1.1 --- a/src/video/windows/SDL_windowsopengles.c	Sun Jun 22 09:42:43 2014 -0700
     1.2 +++ b/src/video/windows/SDL_windowsopengles.c	Sun Jun 22 09:48:46 2014 -0700
     1.3 @@ -64,6 +64,7 @@
     1.4      SDL_GLContext context;
     1.5      SDL_WindowData *data = (SDL_WindowData *)window->driverdata;
     1.6  
     1.7 +#if SDL_VIDEO_OPENGL_WGL
     1.8      if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) {
     1.9          /* Switch to WGL based functions */
    1.10          WIN_GLES_UnloadLibrary(_this);
    1.11 @@ -83,6 +84,7 @@
    1.12  
    1.13          return WIN_GL_CreateContext(_this, window);
    1.14      }
    1.15 +#endif
    1.16  
    1.17      context = SDL_EGL_CreateContext(_this, data->egl_surface);
    1.18      return context;