mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
kopper: move drawable geometry updating up in function
no functional changes Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16152>
This commit is contained in:
parent
c38a2ad2ff
commit
476f8ad350
1 changed files with 3 additions and 3 deletions
|
|
@ -277,6 +277,9 @@ kopper_allocate_textures(struct dri_context *ctx,
|
|||
}
|
||||
}
|
||||
|
||||
drawable->old_w = width;
|
||||
drawable->old_h = height;
|
||||
|
||||
memset(&templ, 0, sizeof(templ));
|
||||
templ.target = screen->target;
|
||||
templ.width0 = width;
|
||||
|
|
@ -338,9 +341,6 @@ kopper_allocate_textures(struct dri_context *ctx,
|
|||
drawable->textures[statts[i]]);
|
||||
}
|
||||
}
|
||||
|
||||
drawable->old_w = width;
|
||||
drawable->old_h = height;
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue