summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-11 11:11:56 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:57:48 +0300
commit88233b0bc301eb0ccdf23ffcb0245b3faad43b04 (patch)
treed7098225ddb79bc7e77a70582dd3f97c8df58e46 /src/mesa/main/teximage.c
parente9ccb5fe52f1ff22eb8f6ac6ff0f4414b712e2e6 (diff)
mesa: remove FEATURE_EXT_texture_sRGB define.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 3a37a7cd793..da8fbcd3276 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -311,7 +311,6 @@ _mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat )
}
}
-#if FEATURE_EXT_texture_sRGB
if (ctx->Extensions.EXT_texture_sRGB) {
switch (internalFormat) {
case GL_SRGB_EXT:
@@ -338,7 +337,6 @@ _mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat )
; /* fallthrough */
}
}
-#endif /* FEATURE_EXT_texture_sRGB */
if (ctx->Version >= 30 ||
ctx->Extensions.EXT_texture_integer) {