mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-28 19:30:47 +02:00
panfrost: Fix pan_pool_ref construction
Fix designator order for `pan_pool_ref` fields by matching declaration order and avoid an error by the C++ compiler. Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11064>
This commit is contained in:
parent
978d465986
commit
bb1cd03fcc
1 changed files with 2 additions and 2 deletions
|
|
@ -81,8 +81,8 @@ pan_take_ref(struct pan_pool *pool, mali_ptr ptr)
|
|||
panfrost_bo_reference(pool->transient_bo);
|
||||
|
||||
return (struct pan_pool_ref) {
|
||||
.gpu = ptr,
|
||||
.bo = pool->transient_bo
|
||||
.bo = pool->transient_bo,
|
||||
.gpu = ptr
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue