diff options
author | Michel Dänzer <[email protected]> | 2009-06-11 12:09:10 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-06-22 15:15:20 -0700 |
commit | 0584b6e433753dd01101c6824f6f6336c40d0f1f (patch) | |
tree | 5fbf8694c37c267834167dbd3b6ece08c91bd810 | |
parent | 19218fe71269d03e1a2e9fcfd0c06a9adb5cb21d (diff) |
intel: intel_texture_drawpixels() can't handle GL_DEPTH_STENCIL.
Fixes glean depthStencil test.
(cherry picked from commit 3885b708fdbb7bbd5dd3a247c41fb9a75ee7c057)
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_pixel_draw.c | 2 |
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 225c5f48a55..d80069dd586 100644 --- a/src/mesa/drivers/dri/intel/intel_pixel_draw.c +++ b/src/mesa/drivers/dri/intel/intel_pixel_draw.c @@ -97,7 +97,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. */ |