mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
i965: use region width, height in brw_update_renderbuffer_surface()
Fixes a regression from commit 2c30fd84df
seen with DRI1.
This commit is contained in:
parent
957a625b2d
commit
927dc39de0
1 changed files with 2 additions and 2 deletions
|
|
@ -546,8 +546,8 @@ brw_update_renderbuffer_surface(struct brw_context *brw,
|
|||
irb->texformat->MesaFormat);
|
||||
}
|
||||
key.tiling = region->tiling;
|
||||
key.width = rb->Width;
|
||||
key.height = rb->Height;
|
||||
key.width = region->width;
|
||||
key.height = region->height;
|
||||
key.pitch = region->pitch;
|
||||
key.cpp = region->cpp;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue