commit a2a972595e6ebf08c102134aa1e3c6fdba659098 parent b74e61a913527babd16001995bc56da3a79393a2 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Oct 12 19:24:24 +0300 GL_FRAMEBUFFER_SRGB Diffstat:
gl.cc | | | 2 | ++ |
diff --git a/gl.cc b/gl.cc @@ -115,6 +115,8 @@ GLFWwindow * gl_init() { glEnable( GL_DEPTH_TEST ); glDepthFunc( GL_LEQUAL ); + glEnable( GL_FRAMEBUFFER_SRGB ); + glEnable( GL_CULL_FACE ); glCullFace( GL_FRONT ); // TODO: change this to back like everyone else glFrontFace( GL_CCW ); // not necessary but I always forget the default