mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 21:56:36 +00:00
c90
This commit is contained in:
parent
a51f312381
commit
ac169d5ae1
@ -515,6 +515,7 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
|
|||||||
EGLint attribs[40];
|
EGLint attribs[40];
|
||||||
EGLConfig config;
|
EGLConfig config;
|
||||||
EGLContext share = NULL;
|
EGLContext share = NULL;
|
||||||
|
int index = 0;
|
||||||
|
|
||||||
if (!_glfw.egl.display)
|
if (!_glfw.egl.display)
|
||||||
{
|
{
|
||||||
@ -553,7 +554,6 @@ GLFWbool _glfwCreateContextEGL(_GLFWwindow* window,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int index = 0;
|
|
||||||
if (_glfw.egl.KHR_create_context)
|
if (_glfw.egl.KHR_create_context)
|
||||||
{
|
{
|
||||||
int mask = 0, flags = 0;
|
int mask = 0, flags = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user