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)