Commit acf6bfb1 authored by Ricardo Vieira's avatar Ricardo Vieira
Browse files

wayland: Destroy window context before clearing the egl surface

parent 2c5c6a1f
......@@ -127,11 +127,11 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
void _glfwPlatformDestroyWindow(_GLFWwindow* window)
if (window->wl.native)
if (window->wl.shell_surface)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment