From 6709cdbcf91561e70c9cb504663bb4b5f95f1ed3 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 29 Jan 2011 22:24:39 +0100 Subject: Solved alpha channel bug. --- image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.cpp b/image.cpp index a3d0d6a..9850a0b 100644 --- a/image.cpp +++ b/image.cpp @@ -28,7 +28,7 @@ void Image::load(const std::string& filename) { if(ch == 4) { format = GL_RGBA; } else { - format = GL_RGB; + format = GL_RGBA; } } -- cgit v1.2.3