mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
r300g: fix fence referencing
This commit is contained in:
parent
d3f598a506
commit
1bdbc0e38f
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ static void r300_flush(struct pipe_context* pipe,
|
|||
/* Create a new fence. */
|
||||
if (rfence) {
|
||||
*rfence = CALLOC_STRUCT(r300_fence);
|
||||
pipe_reference_init(&(*rfence)->reference, 1);
|
||||
(*rfence)->ctx = r300;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue