mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
egl: Attempt to make this compile on WinRT, etc.
This commit is contained in:
parent
1d8797876a
commit
e96b05c395
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue