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
1 changed files with 1 additions and 0 deletions

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);