summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-08-04 01:42:48 -0700
committerKeith Packard <keithp@keithp.com>2008-08-05 15:29:50 -0700
commit4cc20b7f6e25f4be4598f8edbe0077117126b4ee (patch)
tree7b158136e96b50fb27106fd30a9404dc4928ce9a
parentb0b0998b5d52d105eb1e631f688aa8f1bd55ef39 (diff)
Don't call sync on prepare_access -- just let the driver deal with it.
Let the driver do whatever sync is necessary from the prepare_access hook rather than forcing a full sync.
-rw-r--r--uxa/uxa.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/uxa/uxa.c b/uxa/uxa.c
index 9745f8bb..7201e7c6 100644
--- a/uxa/uxa.c
+++ b/uxa/uxa.c
@@ -151,9 +151,6 @@ uxa_prepare_access(DrawablePtr pDrawable, int index)
if (!offscreen)
return;
- /* XXX should be pPixmap eventually */
- uxa_wait_sync (pScreen);
-
if (uxa_screen->info->PrepareAccess)
(*uxa_screen->info->PrepareAccess) (pPixmap, index);
}