mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Commented workaround.
This commit is contained in:
parent
9d5a95add8
commit
7b4f9f02ca
|
@ -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)
|
||||||
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)
|
if (window->GLX.SGIX_fbconfig)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user