Added explicit support for sRGB framebuffers.

This commit is contained in:
Camilla Berglund
2012-12-02 16:10:00 +01:00
parent a3ff29af36
commit 69a900592e
9 changed files with 44 additions and 0 deletions
+3
View File
@@ -835,6 +835,9 @@ static GLboolean createContext(_GLFWwindow* window,
ADD_ATTR2(NSOpenGLPFASamples, fbconfig->samples);
}
// NOTE: All NSOpenGLPixelFormats on the relevant cards support sRGB
// frambuffer, so there's no need (and no way) to request it
ADD_ATTR(0);
#undef ADD_ATTR