projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca95d71
)
nouveau: fix more breakage from pipe_reference..
author
Ben Skeggs
<bskeggs@redhat.com>
Sat, 7 Mar 2009 07:21:15 +0000
(17:21 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sat, 7 Mar 2009 07:49:09 +0000
(17:49 +1000)
src/gallium/winsys/drm/nouveau/common/nouveau_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
b/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
index d9321eaa3f969aeeb7f63cb0f998cfbe634c84ef..2c711e583c779d157b510a9d09405f7ba972fe0a 100644
(file)
--- 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);