Browse Source

intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.

Fixes glean depthStencil test.
tags/mesa_7_6_rc1
Michel Dänzer 17 years ago
parent
commit
3885b708fd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/intel/intel_pixel_draw.c

+ 1
- 1
src/mesa/drivers/dri/intel/intel_pixel_draw.c View File

@@ -96,7 +96,7 @@ intel_texture_drawpixels(GLcontext * ctx,
/* We don't have a way to generate fragments with stencil values which
* will set the resulting stencil value.
*/
if (format == GL_STENCIL_INDEX)
if (format == GL_STENCIL_INDEX || format == GL_DEPTH_STENCIL)
return GL_FALSE;

/* Check that we can load in a texture this big. */

Loading…
Cancel
Save