diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2005-02-10 15:32:48 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2005-02-10 15:32:48 +0000 |
commit | 98fc291ffd55ca5d321dfc9c1c7e979d22cf79e9 (patch) | |
tree | cae83f2d583d0e6c88d351b337c4e21847fe2855 | |
parent | e0ec497e232c454e51a2a6c993835b3efdc30546 (diff) |
Remove character droppings.
Fix assert failure on context destroy by freeing
pending textures on engine idle.
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_ioctl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_ioctl.c b/src/mesa/drivers/dri/unichrome/via_ioctl.c index 7c5cad236f..2c6d65bd25 100644 --- a/src/mesa/drivers/dri/unichrome/via_ioctl.c +++ b/src/mesa/drivers/dri/unichrome/via_ioctl.c @@ -454,6 +454,8 @@ void viaWaitIdle( struct via_context *vmesa ) while(!viaCheckIdle(vmesa)) ; + + via_release_pending_textures(vmesa); } @@ -479,6 +481,8 @@ void viaWaitIdleLocked( struct via_context *vmesa ) while(!viaCheckIdle(vmesa)) ; + + via_release_pending_textures(vmesa); } @@ -604,7 +608,7 @@ void viaCopyBuffer(const __DRIdrawablePrivate *dPriv) */ if (dPriv->numClipRects && vmesa->sarea->pfCurrentOffset != 0) { viaResetPageFlippingLocked(vmesa); - UNLOCK_HARDWARE(vmesa);xo + UNLOCK_HARDWARE(vmesa); return; } |