mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
Fixed invalid attribute list terminator.
This commit is contained in:
parent
2796ecb556
commit
0f4cdd5194
@ -154,7 +154,7 @@ static void refreshContextParams(_GLFWwindow* window, EGLint fbconfigID)
|
||||
EGLint count;
|
||||
EGLConfig fbconfig;
|
||||
|
||||
int attribs[] = { EGL_CONFIG_ID, fbconfigID, None };
|
||||
int attribs[] = { EGL_CONFIG_ID, fbconfigID, EGL_NONE, EGL_NONE };
|
||||
|
||||
eglChooseConfig(_glfwLibrary.EGL.display, attribs, &fbconfig, 1, &count);
|
||||
if (!count)
|
||||
|
Loading…
Reference in New Issue
Block a user