From 51fa4d47eac58c98c5b265e15a7dbf961ecbda4e Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sat, 7 Mar 2009 17:21:15 +1000 Subject: [PATCH] nouveau: fix more breakage from pipe_reference.. --- src/gallium/winsys/drm/nouveau/common/nouveau_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c b/src/gallium/winsys/drm/nouveau/common/nouveau_context.c index d9321eaa3f9..2c711e583c7 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); -- 2.30.2