summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-05-24 22:26:49 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-05-24 22:26:49 +0000
commit0f8a2718a3b4f5f89b6a0ba324da890e3a0377bf (patch)
treecb8bc3236350d6270cb301be7dd1b79c16749788 /src/mesa/drivers/dri/savage
parentbbd557fc53669132fb1f93f7bb28b2939fa70f51 (diff)
WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.
Diffstat (limited to 'src/mesa/drivers/dri/savage')
-rw-r--r--src/mesa/drivers/dri/savage/savageioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savageioctl.c b/src/mesa/drivers/dri/savage/savageioctl.c
index c5f56e5b30..46f836ebc7 100644
--- a/src/mesa/drivers/dri/savage/savageioctl.c
+++ b/src/mesa/drivers/dri/savage/savageioctl.c
@@ -349,6 +349,7 @@ void savageSwapBuffers( __DRIdrawablePrivate *dPriv )
FLUSH_BATCH(imesa);
LOCK_HARDWARE( imesa );
+ WAIT_IDLE_EMPTY;
PAGE_PENDING(pending);
if(!pending)