From a4140691af7f9a76ed4c82355f98a0b8e367b03d Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 7 Jan 2010 02:50:13 +0000 Subject: [PATCH] fix TEXTYPE_COLORBUFFER git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9801 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_textures.c b/gl_textures.c index a68f4c06..edc5ff19 100644 --- a/gl_textures.c +++ b/gl_textures.c @@ -64,7 +64,7 @@ static textypeinfo_t textype_dxt1 = {TEXTYPE_DXT1 , 4, 0, 0. static textypeinfo_t textype_dxt1a = {TEXTYPE_DXT1A , 4, 0, 0.5f, 0 , GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, 0}; static textypeinfo_t textype_dxt3 = {TEXTYPE_DXT3 , 4, 0, 1.0f, 0 , GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, 0}; static textypeinfo_t textype_dxt5 = {TEXTYPE_DXT5 , 4, 0, 1.0f, 0 , GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, 0}; -static textypeinfo_t textype_colorbuffer = {TEXTYPE_COLORBUFFER, 4, 4, 4.0f, GL_BGRA, GL_BGRA, GL_UNSIGNED_BYTE}; +static textypeinfo_t textype_colorbuffer = {TEXTYPE_COLORBUFFER, 4, 4, 4.0f, GL_BGRA, 4, GL_UNSIGNED_BYTE}; typedef enum gltexturetype_e -- 2.39.2