Module: Mesa Branch: master Commit: 51fa4d47eac58c98c5b265e15a7dbf961ecbda4e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51fa4d47eac58c98c5b265e15a7dbf961ecbda4e
Author: Ben Skeggs <[email protected]> Date: Sat Mar 7 17:21:15 2009 +1000 nouveau: fix more breakage from pipe_reference.. --- .../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 d9321ea..2c711e5 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
