diff options
author | Brian Paul <brianp@vmware.com> | 2010-05-04 21:54:56 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-05-04 21:59:54 -0600 |
commit | d148e25953bc7238d0aa070cc2ad3368ee461b08 (patch) | |
tree | 61a318c976a350fa1d0bd55e0c0acb7028eeb314 | |
parent | 00b7dcd27aa6da541e6ba4a431c6d00da7886855 (diff) | |
download | external_mesa3d-d148e25953bc7238d0aa070cc2ad3368ee461b08.zip external_mesa3d-d148e25953bc7238d0aa070cc2ad3368ee461b08.tar.gz external_mesa3d-d148e25953bc7238d0aa070cc2ad3368ee461b08.tar.bz2 |
mesa: remove some color index code
-rw-r--r-- | src/mesa/main/renderbuffer.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index 135fb5d..b0e1476 100644 --- a/src/mesa/main/renderbuffer.c +++ b/src/mesa/main/renderbuffer.c @@ -50,10 +50,6 @@ #include "renderbuffer.h" -/* 32-bit color index format. Not a public format. */ -#define COLOR_INDEX32 0x424243 - - /* * Routines for get/put values in common buffer formats follow. * Someday add support for arbitrary row stride to make them more @@ -1089,21 +1085,6 @@ _mesa_soft_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb, rb->PutMonoValues = put_mono_values_uint; pixelSize = sizeof(GLuint); break; - case GL_COLOR_INDEX8_EXT: - case GL_COLOR_INDEX16_EXT: - case COLOR_INDEX32: - rb->Format = MESA_FORMAT_CI8; - rb->DataType = GL_UNSIGNED_BYTE; - rb->GetPointer = get_pointer_ubyte; - rb->GetRow = get_row_ubyte; - rb->GetValues = get_values_ubyte; - rb->PutRow = put_row_ubyte; - rb->PutRowRGB = NULL; - rb->PutMonoRow = put_mono_row_ubyte; - rb->PutValues = put_values_ubyte; - rb->PutMonoValues = put_mono_values_ubyte; - pixelSize = sizeof(GLubyte); - break; default: _mesa_problem(ctx, "Bad internalFormat in _mesa_soft_renderbuffer_storage"); return GL_FALSE; |