summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-06-11 12:09:10 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-06-11 12:09:10 +0200
commit3885b708fdbb7bbd5dd3a247c41fb9a75ee7c057 (patch)
treed8050191ccefb90111e7577d60e6cf25e4f219d4 /src/mesa/drivers/dri/intel
parent7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8 (diff)
intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.
Fixes glean depthStencil test.
Diffstat (limited to 'src/mesa/drivers/dri/intel')
-rw-r--r--src/mesa/drivers/dri/intel/intel_pixel_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_pixel_draw.c b/src/mesa/drivers/dri/intel/intel_pixel_draw.c
index 7cda6adb32..46d27f1a93 100644
--- a/src/mesa/drivers/dri/intel/intel_pixel_draw.c
+++ b/src/mesa/drivers/dri/intel/intel_pixel_draw.c
@@ -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. */