From 7b4f9f02cacdb211d0c9bdee75a404f0a98746e8 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 3 Jun 2012 16:12:35 +0200 Subject: [PATCH] Commented workaround. --- src/x11_window.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/x11_window.c b/src/x11_window.c index a12e07b0..c6e1fa74 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -146,7 +146,11 @@ static _GLFWfbconfig* getFBConfigs(_GLFWwindow* window, unsigned int* found) vendor = glXGetClientString(_glfwLibrary.X11.display, GLX_VENDOR); if (strcmp(vendor, "Chromium") == 0) - trustWindowBit = GL_FALSE; + { + // This is a (hopefully temporary) workaround for Chromium (VirtualBox + // GL) not setting the window bit on any GLXFBConfigs + trustWindowBit = GL_FALSE; + } if (window->GLX.SGIX_fbconfig) {