diff options
author | Eric Anholt <[email protected]> | 2018-06-20 16:56:26 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-21 15:56:18 -0700 |
commit | 69ae42ca4c1c3886d82a5eb22980b5f02cc0ad54 (patch) | |
tree | cb59b404e8baa88ccf80d1269ef46442609d06be /src/gallium | |
parent | ee9a6a13fb3af78a2aa38492089ef934203d0790 (diff) |
v3d: Don't forget to initialize the buffer offset of a new winsys handle.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/v3d/v3d_resource.c b/src/gallium/drivers/v3d/v3d_resource.c index b91ab30708e..cd49c1af52b 100644 --- a/src/gallium/drivers/v3d/v3d_resource.c +++ b/src/gallium/drivers/v3d/v3d_resource.c @@ -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 |