diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2009-03-07 17:21:15 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2009-03-07 17:49:09 +1000 |
commit | 51fa4d47eac58c98c5b265e15a7dbf961ecbda4e (patch) | |
tree | 904b26a2251bf38d7e2f1c96e9cf95dd66c8a929 | |
parent | ca95d71a4bc63e2ea45abf9096a3da802819ef92 (diff) |
nouveau: fix more breakage from pipe_reference..
-rw-r--r-- | src/gallium/winsys/drm/nouveau/common/nouveau_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c b/src/gallium/winsys/drm/nouveau/common/nouveau_context.c index d9321eaa3f..2c711e583c 100644 --- a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c +++ b/src/gallium/winsys/drm/nouveau/common/nouveau_context.c @@ -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); |