WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.
authorFelix Kuehling <fxkuehl@gmx.de>
Mon, 24 May 2004 22:26:49 +0000 (22:26 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Mon, 24 May 2004 22:26:49 +0000 (22:26 +0000)
src/mesa/drivers/dri/savage/savageioctl.c

index c5f56e5b308f9f57b7bb9d50d74f639e710741ac..46f836ebc717994a72eb8d467eb0a15380fc575d 100644 (file)
@@ -349,6 +349,7 @@ void savageSwapBuffers( __DRIdrawablePrivate *dPriv )
    FLUSH_BATCH(imesa);
 
    LOCK_HARDWARE( imesa );
+   WAIT_IDLE_EMPTY;
    PAGE_PENDING(pending);
 
    if(!pending)