mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
v3d: Don't forget to initialize the buffer offset of a new winsys handle.
This commit is contained in:
parent
ee9a6a13fb
commit
69ae42ca4c
1 changed files with 1 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ v3d_resource_get_handle(struct pipe_screen *pscreen,
|
|||
struct v3d_bo *bo = rsc->bo;
|
||||
|
||||
whandle->stride = rsc->slices[0].stride;
|
||||
whandle->offset = 0;
|
||||
|
||||
/* If we're passing some reference to our BO out to some other part of
|
||||
* the system, then we can't do any optimizations about only us being
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue