From 159ecba4b335f09cb9345c67f48187db796f8955 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Tue, 10 Apr 2007 11:05:17 +0200 Subject: [PATCH] i915: Bring test for vsync to pipe B in line with i915tex. --- src/mesa/drivers/dri/i915/intel_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 4db4edd17b1..d201fcf323a 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -569,7 +569,7 @@ void intelWindowMoved( intelContextPtr intel ) GLint areaB = driIntersectArea( drw_rect, pipeB_rect ); GLuint flags = intel->vblank_flags; - if (areaB > areaA || (areaA > 0 && areaB > 0)) { + if (areaB > areaA || (areaA == areaB && areaB > 0)) { flags = intel->vblank_flags | VBLANK_FLAG_SECONDARY; } else { flags = intel->vblank_flags & ~VBLANK_FLAG_SECONDARY; -- 2.30.2