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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user