From e96b05c395a1fd6d3a20e3ff099f04a6c411620f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 13 Apr 2020 18:21:28 -0400 Subject: [PATCH] egl: Attempt to make this compile on WinRT, etc. --- src/video/SDL_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_egl.c b/src/video/SDL_egl.c index cb19a287d..5a90fc183 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;