summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texfetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/texfetch.c')
-rw-r--r--src/mesa/main/texfetch.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/texfetch.c b/src/mesa/main/texfetch.c
index 851659e9c53..fbb3170ff5d 100644
--- a/src/mesa/main/texfetch.c
+++ b/src/mesa/main/texfetch.c
@@ -41,8 +41,6 @@
#include "texfetch.h"
-#if FEATURE_EXT_texture_sRGB
-
/**
* Convert an 8-bit sRGB value from non-linear space to a
* linear RGB value in [0, 1].
@@ -71,8 +69,6 @@ nonlinear_to_linear(GLubyte cs8)
}
-#endif /* FEATURE_EXT_texture_sRGB */
-
/* Texel fetch routines for all supported formats
*/