projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed478a5
)
intel: Remove fallback for glDrawPixels(GL_COLOR_INDEX)
author
Eric Anholt
<eric@anholt.net>
Fri, 31 Oct 2008 20:18:56 +0000
(13:18 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 31 Oct 2008 23:04:50 +0000
(16:04 -0700)
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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel_draw.c
b/src/mesa/drivers/dri/intel/intel_pixel_draw.c
index 0286bb395e400a5f988453b4cc99d41e7f435b71..8ebbc95a1d0ba1c0e5e9e32eb103238464ed49d3 100644
(file)
--- 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.
*/