1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

Added warning for nVidia RandR gamma.

This commit is contained in:
Camilla Berglund 2010-10-13 22:42:49 +02:00
parent 85bcd1fa0c
commit 00f3dc3da6

View File

@ -157,6 +157,7 @@ static void initGammaRamp(void)
// This is probably Nvidia RandR with broken gamma support
// Flag it as useless and try Xf86VidMode below, if available
_glfwLibrary.X11.XRandR.gammaBroken = GL_TRUE;
fprintf(stderr, "Ignoring broken nVidia implementation of RandR 1.2+ gamma\n");
}
XRRFreeScreenResources(rr);