mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00: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)
|
||||||
|
{
|
||||||
|
// 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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user