mesa: Remove GL_COLOR_INDEX from _mesa_{dest,source}_buffer_exists
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 29 Aug 2011 20:59:49 +0000 (13:59 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Sep 2011 19:09:24 +0000 (12:09 -0700)
Mesa hasn't supported color-index rendering for a long time.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/framebuffer.c

index 23fa1b2c11e3d9c633bae99d9afe0e6972c86704..42da176784351fbc9f800abbb9d5e94575a25a7f 100644 (file)
@@ -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: