summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 3afa479f..cf0d1483 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -491,7 +491,7 @@ Image *Image::_GLload(SDL_Surface *tmpImage)
SDL_LockSurface(tmpImage);
glTexImage2D(
- mTextureType, 0, 4,
+ mTextureType, 0, GL_RGBA8,
tmpImage->w, tmpImage->h,
0, GL_RGBA, GL_UNSIGNED_BYTE,
tmpImage->pixels);