Fixed invalid attribute list terminator.

This commit is contained in:
Camilla Berglund 2012-07-20 17:40:20 +02:00
parent 2796ecb556
commit 0f4cdd5194

View File

@ -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)