From 823e55c9c49cf97531b66e6b15c41d9f9003bc32 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 10 Dec 2009 11:44:17 +0100 Subject: Depth test deaktiviert --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cpp') 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); -- cgit v1.2.3