From 0f4cdd5194b75817941902104d565d7c353e4498 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 20 Jul 2012 17:40:20 +0200 Subject: [PATCH] Fixed invalid attribute list terminator. --- src/x11_egl_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11_egl_opengl.c b/src/x11_egl_opengl.c index 82880c93..06490e1a 100644 --- a/src/x11_egl_opengl.c +++ b/src/x11_egl_opengl.c @@ -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)