intel: Drop check for wrapped_depth in RB mapping.

This used to be needed because irb->mt would be unset for fake packed
depth/stencil, but no longer.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2011-12-07 14:50:02 -08:00
parent faa44bc2f6
commit 8967f75095

View file

@ -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;