fixed walk polygon rendering
authorJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 15 Nov 2016 15:02:22 +0000 (17:02 +0200)
committerJohn Tsiombikas <nuclear@mutantstargoat.com>
Tue, 15 Nov 2016 15:02:22 +0000 (17:02 +0200)
src/app.cc

index 330241c..4fd3690 100644 (file)
@@ -309,6 +309,8 @@ static void draw_scene()
                glDisable(GL_LIGHTING);
                glEnable(GL_POLYGON_OFFSET_FILL);
 
                glDisable(GL_LIGHTING);
                glEnable(GL_POLYGON_OFFSET_FILL);
 
+               glUseProgram(0);
+
                glPolygonOffset(-1, 1);
                glDepthMask(0);
 
                glPolygonOffset(-1, 1);
                glDepthMask(0);