mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Added warning for nVidia RandR gamma.
This commit is contained in:
parent
85bcd1fa0c
commit
00f3dc3da6
|
@ -157,6 +157,7 @@ static void initGammaRamp(void)
|
||||||
// This is probably Nvidia RandR with broken gamma support
|
// This is probably Nvidia RandR with broken gamma support
|
||||||
// Flag it as useless and try Xf86VidMode below, if available
|
// Flag it as useless and try Xf86VidMode below, if available
|
||||||
_glfwLibrary.X11.XRandR.gammaBroken = GL_TRUE;
|
_glfwLibrary.X11.XRandR.gammaBroken = GL_TRUE;
|
||||||
|
fprintf(stderr, "Ignoring broken nVidia implementation of RandR 1.2+ gamma\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
XRRFreeScreenResources(rr);
|
XRRFreeScreenResources(rr);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user