Commit e96b05c395a1fd6d3a20e3ff099f04a6c411620f

Ryan C. Gordon 2020-04-13T18:21:28

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/SDL_egl.c b/src/video/SDL_egl.c
index cb19a28..5a90fc1 100644
--- a/src/video/SDL_egl.c
+++ b/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;