From: Brian Paul Date: Sat, 15 Sep 2012 14:28:16 +0000 (-0600) Subject: mesa: remove FEATURE_ES test in texcompress_cpal.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e656c4a07420fbb34cf00f9b827b1d2f4c45e0f6;p=mesa.git mesa: remove FEATURE_ES test in texcompress_cpal.c Fixes a regression after removing the #if FEATURE_x tests. --- diff --git a/src/mesa/main/texcompress_cpal.c b/src/mesa/main/texcompress_cpal.c index ceeec940376..4aa1f610e32 100644 --- a/src/mesa/main/texcompress_cpal.c +++ b/src/mesa/main/texcompress_cpal.c @@ -40,8 +40,6 @@ #include "texcompress_cpal.h" #include "teximage.h" -#if FEATURE_ES - static const struct cpal_format_info { GLenum cpal_format; @@ -226,5 +224,3 @@ _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, if (saved_align != align) _mesa_PixelStorei(GL_UNPACK_ALIGNMENT, saved_align); } - -#endif