summaryrefslogtreecommitdiff
path: root/src/i810_accel.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-01-06 04:14:02 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-01-06 04:14:02 +0000
commitd290e49ae8fc6bbb137f2ceef216662ef248e7f5 (patch)
treee9ae8dbeaba5b30c57fd04b60a6c8475cc5e1a98 /src/i810_accel.c
parent9e8e19c6fde15fe5b9bb7532316dedeeca54b8d9 (diff)
Integrate updates from Xorg 6.8.2 RC2.lg3d-dev-0-6-1
VS: ----------------------------------------------------------------------
Diffstat (limited to 'src/i810_accel.c')
-rw-r--r--src/i810_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i810_accel.c b/src/i810_accel.c
index 2b0b594a..44d14e85 100644
--- a/src/i810_accel.c
+++ b/src/i810_accel.c
@@ -259,7 +259,7 @@ I810Sync(ScrnInfoPtr pScrn)
#ifdef XF86DRI
/* VT switching tries to do this.
*/
- if (!pI810->LockHeld && pI810->directRenderingEnabled) {
+ if ((!pI810->LockHeld && pI810->directRenderingEnabled) || !pScrn->vtSema) {
return;
}
#endif