Module: Mesa
Branch: master
Commit: 1633fa16270ff9c17420fe0a4edd40a03ec75c7a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1633fa16270ff9c17420fe0a4edd40a03ec75c7a

Author: Brian Paul <[email protected]>
Date:   Sat Sep 22 18:45:36 2012 -0600

mesa: remove FEATURE_ES test in _mesa_get_compressed_formats()

Reviewed-by: Ian Romanick <[email protected]>

---

 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;
 }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to