Win32: Fix VS /W4 compile warnings

From upstream: a84a30ab63.
This commit is contained in:
Luflosi 2020-06-03 19:05:05 +02:00
parent ffb5196f3b
commit 46b5e4513a
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0

4
glfw/egl_context.c vendored
View File

@ -572,8 +572,7 @@ bool _glfwCreateContextEGL(_GLFWwindow* window,
}
// Set up attributes for surface creation
{
int index = 0;
index = 0;
if (fbconfig->sRGB)
{
@ -582,7 +581,6 @@ bool _glfwCreateContextEGL(_GLFWwindow* window,
}
setAttrib(EGL_NONE, EGL_NONE);
}
window->context.egl.surface =
eglCreateWindowSurface(_glfw.egl.display,