medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

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++-
1 file changed, 2 insertions(+), 1 deletion(-)
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; }