summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2009-12-10 22:59:23 +0100
committerConstantin Riß <constantin.riss@dre.de>2009-12-10 22:59:23 +0100
commit74d4f23ef8e05180ea764a3b50aadb3dfa5292bd (patch)
tree338f6067f5422692c35f40b5bb760df8ded03949 /main.cpp
parent2b8bc4d3b606a1cfe77e3bfe374f6d395556e402 (diff)
downloadc3d-74d4f23ef8e05180ea764a3b50aadb3dfa5292bd.tar
c3d-74d4f23ef8e05180ea764a3b50aadb3dfa5292bd.zip
Blend deaktiviert.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 632c3b9..0132992 100644
--- a/main.cpp
+++ b/main.cpp
@@ -18,13 +18,13 @@ void initGL(bool multisample);
void resize(int width, int height);
void initGL(bool multisample) {
- glClearColor(0.0, 0.0, 0.0, 1.0);//glClearColor(1.0, 0.85, 0.06, 1.0);
+ glClearColor(0.3, 0.5, 0.8, 1.0);//glClearColor(1.0, 0.85, 0.06, 1.0);
glClearDepth(1.0);
//glEnable(GL_DEPTH_TEST);
//glDepthFunc(GL_LEQUAL);
- glEnable(GL_BLEND);
- glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ //glEnable(GL_BLEND);
+ //glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
#ifndef _WIN32
if(multisample)