Mesa (master): mesa: remove FEATURE_ES test in texcompress_cpal.c
Brian Paul
brianp at kemper.freedesktop.org
Sat Sep 15 14:29:58 UTC 2012
Module: Mesa
Branch: master
Commit: e656c4a07420fbb34cf00f9b827b1d2f4c45e0f6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e656c4a07420fbb34cf00f9b827b1d2f4c45e0f6
Author: Brian Paul <brianp at vmware.com>
Date: Sat Sep 15 08:28:16 2012 -0600
mesa: remove FEATURE_ES test in texcompress_cpal.c
Fixes a regression after removing the #if FEATURE_x tests.
---
src/mesa/main/texcompress_cpal.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/texcompress_cpal.c b/src/mesa/main/texcompress_cpal.c
index ceeec94..4aa1f61 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
More information about the mesa-commit
mailing list