Mesa (master): egl: Comment out unused tables in_eglFillInConfigs

Brian Paul brianp at kemper.freedesktop.org
Tue Jul 28 14:58:53 UTC 2009


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

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon Jul 27 16:57:36 2009 -0600

egl: Comment out unused tables in_eglFillInConfigs

This silences a compiler warning.

Signed-off-by: Chia-I Wu <olvaffe at gmail.com>

---

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

diff --git a/src/egl/main/eglconfigutil.c b/src/egl/main/eglconfigutil.c
index 138dc72..c9d00e7 100644
--- a/src/egl/main/eglconfigutil.c
+++ b/src/egl/main/eglconfigutil.c
@@ -156,6 +156,7 @@ _eglFillInConfigs(_EGLConfig * configs,
             {0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000},  /* 8_8_8_8_REV */
          };
 
+#if 0
    static const uint32_t masks_table_bgr[8][4] = {
             {0x00000000, 0x00000000, 0x00000000, 0x00000000},
             {0x00000000, 0x00000000, 0x00000000, 0x00000000},
@@ -177,6 +178,7 @@ _eglFillInConfigs(_EGLConfig * configs,
             {0x00000000, 0x00000000, 0x00000000, 0x00000000},
             {0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000},  /* 8_8_8_8_REV */
          };
+#endif
 
    static const uint8_t bytes_per_pixel[8] = {
             0, 0, 0, 2, 2, 4, 0, 4




More information about the mesa-commit mailing list