From 4481c6c0b3e90450b20f1e7b4a0edc3ce346a4bb Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 20 Jan 2008 23:20:42 +1100 Subject: [PATCH] nouveau: small oops --- src/mesa/drivers/dri/nouveau_winsys/nouveau_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/nouveau_winsys/nouveau_screen.c b/src/mesa/drivers/dri/nouveau_winsys/nouveau_screen.c index 784dfdd155e..c58af22c98c 100644 --- a/src/mesa/drivers/dri/nouveau_winsys/nouveau_screen.c +++ b/src/mesa/drivers/dri/nouveau_winsys/nouveau_screen.c @@ -158,7 +158,7 @@ nouveau_destroy_buffer(__DRIdrawablePrivate * driDrawPriv) { struct nouveau_framebuffer *nvfb; - nvfb = (struct nouveau_framebuffer *)driDrawPriv; + nvfb = (struct nouveau_framebuffer *)driDrawPriv->driverPrivate; st_unreference_framebuffer(&nvfb->stfb); free(nvfb); } -- 2.30.2