mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 14:18:07 +02:00
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.
This commit is contained in:
parent
ed478a5fde
commit
018088996a
1 changed files with 0 additions and 7 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue