mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
i915g: Don't forget x/y coords in transfers
Fixes demos/ray.
This commit is contained in:
parent
738e02c3c8
commit
7de5e60c18
1 changed files with 2 additions and 0 deletions
|
|
@ -232,6 +232,8 @@ i915_get_tex_transfer(struct pipe_screen *screen,
|
|||
if (trans) {
|
||||
pipe_texture_reference(&trans->base.texture, texture);
|
||||
trans->base.format = trans->base.format;
|
||||
trans->base.x = x;
|
||||
trans->base.y = y;
|
||||
trans->base.width = w;
|
||||
trans->base.height = h;
|
||||
trans->base.block = texture->block;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue