summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.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/texformat.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/texformat.c')
-rw-r--r--src/mesa/main/texformat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
index 910f318fc40..17270ba9248 100644
--- a/src/mesa/main/texformat.c
+++ b/src/mesa/main/texformat.c
@@ -551,7 +551,6 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum target,
}
}
-#if FEATURE_EXT_texture_sRGB
if (ctx->Extensions.EXT_texture_sRGB) {
switch (internalFormat) {
case GL_SRGB_EXT:
@@ -618,7 +617,6 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum target,
; /* fallthrough */
}
}
-#endif /* FEATURE_EXT_texture_sRGB */
if (ctx->Extensions.EXT_texture_integer) {
switch (internalFormat) {