diff options
author | Chia-I Wu <[email protected]> | 2009-10-29 14:59:42 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-29 07:52:58 -0600 |
commit | 59798cd8864b601e035cf2414517cd90d24ed786 (patch) | |
tree | 8bc1b44d4f2d492da4a3ae6596e24aa08152bbf8 /src/mesa/main/texcompress_s3tc.c | |
parent | 20e20fc5afa7525e247fd607e04d9adfffe730b4 (diff) |
mesa/main: Make FEATURE_texture_s3tc follow feature conventions.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.c')
-rw-r--r-- | src/mesa/main/texcompress_s3tc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_s3tc.c b/src/mesa/main/texcompress_s3tc.c index 9fc73fec511..b271a539a72 100644 --- a/src/mesa/main/texcompress_s3tc.c +++ b/src/mesa/main/texcompress_s3tc.c @@ -44,6 +44,10 @@ #include "texcompress_s3tc.h" #include "texstore.h" + +#if FEATURE_texture_s3tc + + #ifdef __MINGW32__ #define DXTN_LIBNAME "dxtn.dll" #define RTLD_LAZY 0 @@ -564,5 +568,7 @@ _mesa_fetch_texel_2d_f_srgba_dxt5(const struct gl_texture_image *texImage, texel[BCOMP] = nonlinear_to_linear(rgba[BCOMP]); texel[ACOMP] = CHAN_TO_FLOAT(rgba[ACOMP]); } -#endif +#endif /* FEATURE_EXT_texture_sRGB */ + +#endif /* FEATURE_texture_s3tc */ |