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
Add a link
Reference in a new issue