nouveau: fix more breakage from pipe_reference..

This commit is contained in:
Ben Skeggs 2009-03-07 17:21:15 +10:00
parent ca95d71a4b
commit 51fa4d47ea
1 changed files with 1 additions and 0 deletions

View File

@ -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);