summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-10 11:44:17 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-10 11:44:17 +0100
commit823e55c9c49cf97531b66e6b15c41d9f9003bc32 (patch)
tree17fbd1479d0d0658dd50a30f34d8614df3c795dc
parente34b6f19888ab063201c7b4f2706b200fa93cd35 (diff)
downloadc3d-823e55c9c49cf97531b66e6b15c41d9f9003bc32.tar
c3d-823e55c9c49cf97531b66e6b15c41d9f9003bc32.zip
Depth test deaktiviert
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 58309f1..fd20eb9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -20,8 +20,8 @@ void resize(int width, int height);
void initGL(bool multisample) {
glClearColor(1.0, 0.85, 0.06, 1.0);
glClearDepth(1.0);
- glEnable(GL_DEPTH_TEST);
- glDepthFunc(GL_LEQUAL);
+ //glEnable(GL_DEPTH_TEST);
+ //glDepthFunc(GL_LEQUAL);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);