diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-12-10 11:44:17 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-12-10 11:44:17 +0100 |
commit | 823e55c9c49cf97531b66e6b15c41d9f9003bc32 (patch) | |
tree | 17fbd1479d0d0658dd50a30f34d8614df3c795dc | |
parent | e34b6f19888ab063201c7b4f2706b200fa93cd35 (diff) | |
download | c3d-823e55c9c49cf97531b66e6b15c41d9f9003bc32.tar c3d-823e55c9c49cf97531b66e6b15c41d9f9003bc32.zip |
Depth test deaktiviert
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |