fix rgb textures on fglrx again

SVN revision: 45628
This commit is contained in:
Carsten Haitzler 2010-01-27 15:29:24 +00:00
parent c612e20b40
commit 36270ab981
1 changed files with 5 additions and 0 deletions

View File

@ -3,8 +3,13 @@
#if 1
static const GLenum rgba_fmt = GL_RGBA;
static const GLenum rgba_ifmt = GL_RGBA;
#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
static const GLenum rgb_fmt = GL_RGBA;
static const GLenum rgb_ifmt = GL_RGBA;
#else
static const GLenum rgb_fmt = GL_RGB;
static const GLenum rgb_ifmt = GL_RGB;
#endif
static const GLenum alpha_fmt = GL_ALPHA;
static const GLenum alpha_ifmt = GL_ALPHA;
static const GLenum lum_fmt = GL_LUMINANCE;