[Mesa-dev] [PATCH 5/6] mesa: remove FEATURE_ES test in _mesa_get_compressed_formats()

Brian Paul brian.e.paul at gmail.com
Sat Sep 22 17:45:36 PDT 2012


From: Brian Paul <brianp at vmware.com>

---
 src/mesa/main/texcompress.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c
index bb61e6e..957cc6d 100644
--- a/src/mesa/main/texcompress.c
+++ b/src/mesa/main/texcompress.c
@@ -275,7 +275,6 @@ _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats)
       }
    }
 
-#if FEATURE_ES1
    if (ctx->API == API_OPENGLES) {
       if (formats) {
 	 formats[n++] = GL_PALETTE4_RGB8_OES;
@@ -293,7 +292,6 @@ _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats)
 	 n += 10;
       }
    }
-#endif
 
    return n;
 }
-- 
1.7.4.1



More information about the mesa-dev mailing list