[Mesa-dev] [PATCH 08/11] mesa: Remove GL_COLOR_INDEX from _mesa_{dest, source}_buffer_exists

Ian Romanick idr at freedesktop.org
Wed Aug 31 13:21:58 PDT 2011


From: Ian Romanick <ian.d.romanick at intel.com>

Mesa hasn't supported color-index rendering for a long time.
---
 src/mesa/main/framebuffer.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 23fa1b2..42da176 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -888,7 +888,6 @@ _mesa_source_buffer_exists(struct gl_context *ctx, GLenum format)
    case GL_RGBA:
    case GL_BGRA:
    case GL_ABGR_EXT:
-   case GL_COLOR_INDEX:
    case GL_RED_INTEGER_EXT:
    case GL_GREEN_INTEGER_EXT:
    case GL_BLUE_INTEGER_EXT:
@@ -976,7 +975,6 @@ _mesa_dest_buffer_exists(struct gl_context *ctx, GLenum format)
    case GL_RGBA:
    case GL_BGRA:
    case GL_ABGR_EXT:
-   case GL_COLOR_INDEX:
    case GL_RED_INTEGER_EXT:
    case GL_GREEN_INTEGER_EXT:
    case GL_BLUE_INTEGER_EXT:
-- 
1.7.4.4



More information about the mesa-dev mailing list