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 c5f56e5..46f836e 100644 (file)
@@ -349,6 +349,7 @@ void savageSwapBuffers( __DRIdrawablePrivate *dPriv )
    FLUSH_BATCH(imesa);
 
    LOCK_HARDWARE( imesa );
+   WAIT_IDLE_EMPTY;
    PAGE_PENDING(pending);
 
    if(!pending)