diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-17 22:31:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-17 22:31:39 +0300 |
commit | a736a01786b9ad6df5dba9955fcac96300c537a2 (patch) | |
tree | d89fc92c489f0ab0c124196e5bc89b9c5e21d703 /src/resources | |
parent | 61c92f38a7b9a5b30149bf5ae0cc106abc0482dc (diff) | |
download | manaverse-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.gz manaverse-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.bz2 manaverse-a736a01786b9ad6df5dba9955fcac96300c537a2.tar.xz manaverse-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.cpp | 2 |
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 |