Explorar o código

egl: Attempt to make this compile on WinRT, etc.

Ryan C. Gordon %!s(int64=5) %!d(string=hai) anos
pai
achega
e96b05c395
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video/SDL_egl.c

+ 1 - 1
src/video/SDL_egl.c

@@ -977,7 +977,7 @@ SDL_EGL_CreateContext(_THIS, EGLSurface egl_surface)
             }
         } else {
             /* Desktop OpenGL supports it by default from version 3.0 on. */
-            void (APIENTRY * glGetIntegervFunc) (GLenum pname, GLint * params);
+            void (GL_APIENTRY * glGetIntegervFunc) (GLenum pname, GLint * params);
             glGetIntegervFunc = SDL_GL_GetProcAddress("glGetIntegerv");
             if (glGetIntegervFunc) {
                 GLint v = 0;