diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-29 22:24:39 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-01-29 22:24:39 +0100 |
commit | 6709cdbcf91561e70c9cb504663bb4b5f95f1ed3 (patch) | |
tree | 6dd1369879928c9fb9a93942d7df0a86779bbaee | |
parent | 58a14d0b9fae397cbe874d4baac90d15d92065a1 (diff) |
Solved alpha channel bug.
-rw-r--r-- | image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ void Image::load(const std::string& filename) { if(ch == 4) { format = GL_RGBA; } else { - format = GL_RGB; + format = GL_RGBA; } } |