vc4: Fix referencing of sync objects.
While the pipe_reference_* helpers set the pointer, a bare pipe_reference doesn't. Fixes 5 ARB_sync tests.
This commit is contained in:
parent
e75e677d28
commit
e5eaf8ec60
|
@ -56,6 +56,7 @@ vc4_fence_reference(struct pipe_screen *pscreen,
|
|||
if (pipe_reference(&(*p)->reference, &f->reference)) {
|
||||
free(old);
|
||||
}
|
||||
*p = f;
|
||||
}
|
||||
|
||||
static boolean
|
||||
|
|
Loading…
Reference in New Issue