From feef53005b57d6b4489a15f8d0db8245dcb0cfaa Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 27 Sep 2012 13:36:55 +0100 Subject: [PATCH] uxa: Do not attempt to pageflip whilst not master Signed-off-by: Chris Wilson --- src/intel_dri.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel_dri.c b/src/intel_dri.c index ccb10d11..b0e48304 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -932,6 +932,9 @@ can_exchange(DrawablePtr drawable, DRI2BufferPtr front, DRI2BufferPtr back) struct intel_pixmap *front_intel = intel_get_pixmap_private(front_pixmap); struct intel_pixmap *back_intel = intel_get_pixmap_private(back_pixmap); + if (!pScrn->vtSema) + return FALSE; + if (I830DRI2DrawablePipe(draw) < 0) return FALSE;