[Mesa-dev] [PATCH 1/8] intel: Drop check for wrapped_depth in RB mapping.
Eric Anholt
eric at anholt.net
Thu Dec 8 13:39:56 PST 2011
This used to be needed because irb->mt would be unset for fake packed
depth/stencil, but no longer.
---
src/mesa/drivers/dri/intel/intel_fbo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index 4fcde23..1980355 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -122,7 +122,7 @@ intel_map_renderbuffer(struct gl_context *ctx,
int stride;
/* We sometimes get called with this by our intel_span.c usage. */
- if (!irb->mt && !irb->wrapped_depth) {
+ if (!irb->mt) {
*out_map = NULL;
*out_stride = 0;
return;
--
1.7.7.3
More information about the mesa-dev
mailing list