summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-25 08:57:55 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-25 13:39:18 -0700
commit310ca6ba4048dc3719945c438d70d1f1d7ab5689 (patch)
treef82ff7bc3b5525d13ed36ebfa7aa1f2c835add28 /src
parent5cfb4248c6eb5afdc00b3893178e87af37dcf309 (diff)
panfrost: Use pipe_surface->format directly in blitter
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_blit.c b/src/gallium/drivers/panfrost/pan_blit.c
index e6ef70ea7b8..959c7ae1c78 100644
--- a/src/gallium/drivers/panfrost/pan_blit.c
+++ b/src/gallium/drivers/panfrost/pan_blit.c
@@ -123,7 +123,7 @@ panfrost_blit_wallpaper(struct panfrost_context *ctx)
binfo.src.box.height = binfo.dst.box.height = ctx->pipe_framebuffer.height;
binfo.src.box.depth = binfo.dst.box.depth = 1;
- binfo.src.format = binfo.dst.format = ctx->pipe_framebuffer.cbufs[0]->texture->format;
+ binfo.src.format = binfo.dst.format = ctx->pipe_framebuffer.cbufs[0]->format;
assert(ctx->pipe_framebuffer.nr_cbufs == 1);
binfo.mask = PIPE_MASK_RGBA;