From: John Tsiombikas Date: Tue, 15 Nov 2016 15:02:22 +0000 (+0200) Subject: fixed walk polygon rendering X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=commitdiff_plain;h=c99f902fd316d625af8f57971561ef035cbfd59f fixed walk polygon rendering --- 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);