summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2009-12-10 23:37:00 +0100
committerConstantin Riß <constantin.riss@dre.de>2009-12-10 23:37:00 +0100
commita27f871aecf07d4624ad443e763e25d684536ba8 (patch)
treeaf2cc5c7717de11c24d0289133cbb377c6802c9d
parent0d976c387f1cb6b3f6c2cff3a577236ec101d4e0 (diff)
downloadc3d-a27f871aecf07d4624ad443e763e25d684536ba8.tar
c3d-a27f871aecf07d4624ad443e763e25d684536ba8.zip
Blend aktiviert.
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 0132992..a25aafd 100644
--- a/main.cpp
+++ b/main.cpp
@@ -23,8 +23,8 @@ void initGL(bool multisample) {
//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)