mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
winsys/intel: fix dereferencing of opaque type due to pipe_reference changes
This commit is contained in:
parent
c6b450033d
commit
71f4267ac2
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ intel_drm_fence_reference(struct intel_winsys *iws,
|
|||
struct intel_drm_fence *old = (struct intel_drm_fence *)*ptr;
|
||||
struct intel_drm_fence *f = (struct intel_drm_fence *)fence;
|
||||
|
||||
if (pipe_reference(&(*ptr)->reference, &f->reference)) {
|
||||
if (pipe_reference(&((struct intel_drm_fence *)(*ptr))->reference, &f->reference)) {
|
||||
if (old->bo)
|
||||
drm_intel_bo_unreference(old->bo);
|
||||
FREE(old);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue