mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 09:08:58 +00:00
Further isolated X11-specific parts of EGL code.
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ static GLboolean createWindow(_GLFWwindow* window,
|
||||
{
|
||||
unsigned long wamask;
|
||||
XSetWindowAttributes wa;
|
||||
XVisualInfo* visual = _glfwGetContextVisual(window);
|
||||
XVisualInfo* visual = _GLFW_X11_CONTEXT_VISUAL;
|
||||
|
||||
// Every window needs a colormap
|
||||
// Create one based on the visual used by the current context
|
||||
|
||||
Reference in New Issue
Block a user