Mesa (master): intel: Remove fallback for glDrawPixels(GL_COLOR_INDEX)
Eric Anholt
anholt at kemper.freedesktop.org
Fri Oct 31 23:04:58 UTC 2008
Module: Mesa
Branch: master
Commit: 018088996a92ef15edd946d9300707112caaa29c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=018088996a92ef15edd946d9300707112caaa29c
Author: Eric Anholt <eric at anholt.net>
Date: Fri Oct 31 13:18:56 2008 -0700
intel: Remove fallback for glDrawPixels(GL_COLOR_INDEX)
GL_COLOR_INDEX mode is just like other normal formats (that is, not
depth/stencil) and is uploaded fine by TexImage.
---
src/mesa/drivers/dri/intel/intel_pixel_draw.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_draw.c b/src/mesa/drivers/dri/intel/intel_pixel_draw.c
index 0286bb3..8ebbc95 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_draw.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_draw.c
@@ -91,13 +91,6 @@ intel_texture_drawpixels(GLcontext * ctx,
return GL_FALSE;
}
- /* Don't even want to think about it */
- if (format == GL_COLOR_INDEX) {
- if (INTEL_DEBUG & DEBUG_FALLBACKS)
- fprintf(stderr, "glDrawPixels() fallback: format == GL_COLOR_INDEX\n");
- return GL_FALSE;
- }
-
/* We don't have a way to generate fragments with stencil values which *
* will set the resulting stencil value.
*/
More information about the mesa-commit
mailing list