Commented workaround.

This commit is contained in:
Camilla Berglund 2012-06-03 16:12:35 +02:00
parent 9d5a95add8
commit 7b4f9f02ca

View File

@ -146,7 +146,11 @@ static _GLFWfbconfig* getFBConfigs(_GLFWwindow* window, unsigned int* found)
vendor = glXGetClientString(_glfwLibrary.X11.display, GLX_VENDOR); vendor = glXGetClientString(_glfwLibrary.X11.display, GLX_VENDOR);
if (strcmp(vendor, "Chromium") == 0) if (strcmp(vendor, "Chromium") == 0)
{
// This is a (hopefully temporary) workaround for Chromium (VirtualBox
// GL) not setting the window bit on any GLXFBConfigs
trustWindowBit = GL_FALSE; trustWindowBit = GL_FALSE;
}
if (window->GLX.SGIX_fbconfig) if (window->GLX.SGIX_fbconfig)
{ {