mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 10:20:22 +01:00
nouveau: fix more breakage from pipe_reference..
This commit is contained in:
parent
ca95d71a4b
commit
51fa4d47ea
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ nouveau_context_init(struct nouveau_screen *nv_screen,
|
|||
return 1;
|
||||
}
|
||||
nv_screen->nvc = nvc;
|
||||
pipe_reference_init(&nvc->reference, 1);
|
||||
}
|
||||
|
||||
pipe_reference((struct pipe_reference**)&nv->nvc, &nvc->reference);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue