From c99f902fd316d625af8f57971561ef035cbfd59f Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Tue, 15 Nov 2016 17:02:22 +0200 Subject: [PATCH] fixed walk polygon rendering --- src/app.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app.cc b/src/app.cc index 330241c..4fd3690 100644 --- a/src/app.cc +++ b/src/app.cc @@ -309,6 +309,8 @@ static void draw_scene() glDisable(GL_LIGHTING); glEnable(GL_POLYGON_OFFSET_FILL); + glUseProgram(0); + glPolygonOffset(-1, 1); glDepthMask(0); -- 1.7.10.4