Commit 54dd7b1d authored by Jesse Natalie's avatar Jesse Natalie Committed by Marge Bot

d3d12: Fix unused local variable warning in release build

Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Part-of: <mesa/mesa!8248>
parent 28f1f6fe
......@@ -267,7 +267,7 @@ copy_subregion_no_barriers(struct d3d12_context *ctx,
const struct pipe_box *psrc_box,
unsigned mask)
{
struct d3d12_screen *screen = d3d12_screen(ctx->base.screen);
UNUSED struct d3d12_screen *screen = d3d12_screen(ctx->base.screen);
D3D12_TEXTURE_COPY_LOCATION src_loc, dst_loc;
unsigned src_z = psrc_box->z;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment