summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--image.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}