summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.c
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-11 09:39:12 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:57:04 +0300
commitab8d76357fe17b7b380e6f513f3385e2d39ca06d (patch)
tree859b21a8019a5e61362a2cfcac305e647220430b /src/mesa/main/texcompress.c
parentbeb293e4cdbdbb012ee866c9548466b24e6b2194 (diff)
mesa: remove FEATURE_texture_s3tc define.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r--src/mesa/main/texcompress.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
index ff4a9e768aa..fb0198715fd 100644
--- a/src/mesa/main/texcompress.c
+++ b/src/mesa/main/texcompress.c
@@ -379,7 +379,6 @@ _mesa_compressed_format_to_glenum(struct gl_context *ctx, gl_format mesaFormat)
return GL_COMPRESSED_RGB_FXT1_3DFX;
case MESA_FORMAT_RGBA_FXT1:
return GL_COMPRESSED_RGBA_FXT1_3DFX;
-#if FEATURE_texture_s3tc
case MESA_FORMAT_RGB_DXT1:
return GL_COMPRESSED_RGB_S3TC_DXT1_EXT;
case MESA_FORMAT_RGBA_DXT1:
@@ -398,8 +397,6 @@ _mesa_compressed_format_to_glenum(struct gl_context *ctx, gl_format mesaFormat)
case MESA_FORMAT_SRGBA_DXT5:
return GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT;
#endif
-#endif
-
case MESA_FORMAT_RED_RGTC1:
return GL_COMPRESSED_RED_RGTC1;
case MESA_FORMAT_SIGNED_RED_RGTC1: