mirror of
https://github.com/glfw/glfw.git
synced 2024-11-30 05:47:10 +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;
|
EGLint count;
|
||||||
EGLConfig fbconfig;
|
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);
|
eglChooseConfig(_glfwLibrary.EGL.display, attribs, &fbconfig, 1, &count);
|
||||||
if (!count)
|
if (!count)
|
||||||
|
Loading…
Reference in New Issue
Block a user