From: Ben Skeggs Date: Sun, 20 Jan 2008 12:20:42 +0000 (+1100) Subject: nouveau: small oops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4481c6c0b3e90450b20f1e7b4a0edc3ce346a4bb;p=mesa.git nouveau: small oops --- 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); }