commit b7d5d59c344dfa576799fb3a56585f0f5e69d7e9 parent a814c8a45157d0419dd186c77c85ce5c0edbb462 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Aug 16 18:19:21 +0200 Explicitly use CCW winding Diffstat:
gl.cc | | | 3 | ++- |
diff --git a/gl.cc b/gl.cc @@ -108,7 +108,8 @@ GLFWwindow * GL::init() { glDepthFunc( GL_LEQUAL ); glEnable( GL_CULL_FACE ); - glCullFace( GL_FRONT ); + glCullFace( GL_FRONT ); // TODO: change this to back like everyone else + glFrontFace( GL_CCW ); // not necessary but I always forget the default return window; }