summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-17 22:31:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-17 22:31:39 +0300
commita736a01786b9ad6df5dba9955fcac96300c537a2 (patch)
treed89fc92c489f0ab0c124196e5bc89b9c5e21d703 /src/resources
parent61c92f38a7b9a5b30149bf5ae0cc106abc0482dc (diff)
downloadmanaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.gz
manaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.bz2
manaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.xz
manaplus-a736a01786b9ad6df5dba9955fcac96300c537a2.zip
Add support for normal internal texture format (before was old format).
Add option to switch new/old texture format.
Diffstat (limited to 'src/resources')
-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 fa9f1462a..34a2e22b7 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -44,7 +44,7 @@
#ifdef USE_OPENGL
int Image::mUseOpenGL = 0;
int Image::mTextureType = 0;
-int Image::mInternalTextureType = 4;
+int Image::mInternalTextureType = GL_RGBA8;
int Image::mTextureSize = 0;
bool Image::mBlur = true;
#endif