projects
/
laserbrain_demo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017ce4c
)
fixed walk polygon rendering
author
John Tsiombikas
<nuclear@mutantstargoat.com>
Tue, 15 Nov 2016 15:02:22 +0000
(17:02 +0200)
committer
John Tsiombikas
<nuclear@mutantstargoat.com>
Tue, 15 Nov 2016 15:02:22 +0000
(17:02 +0200)
src/app.cc
patch
|
blob
|
history
diff --git
a/src/app.cc
b/src/app.cc
index
330241c
..
4fd3690
100644
(file)
--- 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);