summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Renderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Renderer.h b/src/Renderer.h
index 8c531a5..bf2da20 100644
--- a/src/Renderer.h
+++ b/src/Renderer.h
@@ -71,7 +71,7 @@ class Renderer {
Shader::disable();
glFrontFace(GL_CCW);
- glStencilOp(GL_KEEP, GL_INCR_WRAP, GL_KEEP);
+ glStencilOp(GL_KEEP, GL_INCR, GL_KEEP);
glBegin(GL_TRIANGLES);
for(std::vector<ShadowVolume>::iterator v = shadowVolumes.begin(); v != shadowVolumes.end(); ++v) {
@@ -80,7 +80,7 @@ class Renderer {
glEnd();
glFrontFace(GL_CW);
- glStencilOp(GL_KEEP, GL_DECR_WRAP, GL_KEEP);
+ glStencilOp(GL_KEEP, GL_DECR, GL_KEEP);
glBegin(GL_TRIANGLES);
for(std::vector<ShadowVolume>::iterator v = shadowVolumes.begin(); v != shadowVolumes.end(); ++v) {