diff options
author | Constantin Riß <constantin.riss@dre.de> | 2009-12-10 23:37:00 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2009-12-10 23:37:00 +0100 |
commit | a27f871aecf07d4624ad443e763e25d684536ba8 (patch) | |
tree | af2cc5c7717de11c24d0289133cbb377c6802c9d | |
parent | 0d976c387f1cb6b3f6c2cff3a577236ec101d4e0 (diff) | |
download | c3d-a27f871aecf07d4624ad443e763e25d684536ba8.tar c3d-a27f871aecf07d4624ad443e763e25d684536ba8.zip |
Blend aktiviert.
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |