mirror of
https://github.com/glfw/glfw.git
synced 2024-11-30 05:47:10 +00:00
Fix for ELG wrong surface passed
This commit is contained in:
parent
3de9ed6453
commit
5f52f2a7f8
@ -820,8 +820,8 @@ GLFWbool _glfwChooseVisualEGL(const _GLFWwndconfig* wndconfig,
|
|||||||
static void _glfwMakeUserContextCurrentEGL(_GLFWusercontext* context)
|
static void _glfwMakeUserContextCurrentEGL(_GLFWusercontext* context)
|
||||||
{
|
{
|
||||||
if (!eglMakeCurrent(_glfw.egl.display,
|
if (!eglMakeCurrent(_glfw.egl.display,
|
||||||
context->window->context.egl.surface,
|
context->egl.surface,
|
||||||
context->window->context.egl.surface,
|
context->egl.surface,
|
||||||
context->egl.handle))
|
context->egl.handle))
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
_glfwInputError(GLFW_PLATFORM_ERROR,
|
||||||
|
Loading…
Reference in New Issue
Block a user