diff options
author | Xiang, Haihao <[email protected]> | 2007-03-06 15:47:37 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2007-03-06 15:47:37 +0800 |
commit | 1c70cde8881f794782780cbd695da0882f78c769 (patch) | |
tree | e5802ee9dd4985dc6dd1c44718201e9f08686775 /src/mesa/drivers/dri/i810/i810screen.c | |
parent | a783713432a1aed168688ace7d03bc11abf9b406 (diff) |
fix for bug#10182
call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer
in i810, i915, i915tex, i965 drivers.
Diffstat (limited to 'src/mesa/drivers/dri/i810/i810screen.c')
-rw-r--r-- | src/mesa/drivers/dri/i810/i810screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i810/i810screen.c b/src/mesa/drivers/dri/i810/i810screen.c index d0e58f667c2..ebe2615fe87 100644 --- a/src/mesa/drivers/dri/i810/i810screen.c +++ b/src/mesa/drivers/dri/i810/i810screen.c @@ -398,7 +398,8 @@ i810CreateBuffer( __DRIscreenPrivate *driScrnPriv, static void i810DestroyBuffer(__DRIdrawablePrivate *driDrawPriv) { - _mesa_destroy_framebuffer((GLframebuffer *) (driDrawPriv->driverPrivate)); + /* _mesa_destroy_framebuffer((GLframebuffer *) (driDrawPriv->driverPrivate)); */ + _mesa_dereference_framebuffer((GLframebuffer **)(&(driDrawPriv->driverPrivate))); } |