summaryrefslogtreecommitdiff
path: root/src/i810_accel.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:41 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:41 +0000
commite25f8e145f4f73b62c32389b922291fd561af9d2 (patch)
tree0112775ae632981137d8020d67f325ed99e08570 /src/i810_accel.c
parent9e8e19c6fde15fe5b9bb7532316dedeeca54b8d9 (diff)
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