From ac169d5ae1d2a6e982f35636ed0c405d3cc27248 Mon Sep 17 00:00:00 2001 From: Christopher Hesse <48501609+cshesse@users.noreply.github.com> Date: Sun, 8 Dec 2019 21:40:10 -0800 Subject: [PATCH] c90 --- src/egl_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl_context.c b/src/egl_context.c index 965a8fbf7..5caa99627 100644 --- a/src/egl_context.c +++ b/src/egl_context.c @@ -515,6 +515,7 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window, EGLint attribs[40]; EGLConfig config; EGLContext share = NULL; + int index = 0; if (!_glfw.egl.display) { @@ -553,7 +554,6 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window, } } - int index = 0; if (_glfw.egl.KHR_create_context) { int mask = 0, flags = 0;