summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-09-20 17:54:09 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:32 +0100
commit6bab0ab86a72881c3e0b88284c211e01fb22435a (patch)
tree3594305ad612f0e59ee630c2b5a59d974fc8bac5 /src/Render.cpp
parent2017-09-19 (diff)
downloadAltCraft-6bab0ab86a72881c3e0b88284c211e01fb22435a.tar
AltCraft-6bab0ab86a72881c3e0b88284c211e01fb22435a.tar.gz
AltCraft-6bab0ab86a72881c3e0b88284c211e01fb22435a.tar.bz2
AltCraft-6bab0ab86a72881c3e0b88284c211e01fb22435a.tar.lz
AltCraft-6bab0ab86a72881c3e0b88284c211e01fb22435a.tar.xz
AltCraft-6bab0ab86a72881c3e0b88284c211e01fb22435a.tar.zst
AltCraft-6bab0ab86a72881c3e0b88284c211e01fb22435a.zip
Diffstat (limited to 'src/Render.cpp')
-rw-r--r--src/Render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index cdbb480..1473ae0 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -64,9 +64,9 @@ void Render::InitGlew() {
glViewport(0, 0, width, height);
glClearColor(0.8,0.8,0.8, 1.0f);
glEnable(GL_DEPTH_TEST);
- /*glEnable(GL_CULL_FACE);
+ glEnable(GL_CULL_FACE);
glCullFace(GL_BACK);
- glFrontFace(GL_CCW);*/
+ glFrontFace(GL_CCW);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glCheckError();