From a736a01786b9ad6df5dba9955fcac96300c537a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 17 May 2012 22:31:39 +0300 Subject: Add support for normal internal texture format (before was old format). Add option to switch new/old texture format. --- src/resources/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources') 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 -- cgit v1.2.3-70-g09d2