From: Michel Dänzer Date: Tue, 10 Apr 2007 09:05:17 +0000 (+0200) Subject: i915: Bring test for vsync to pipe B in line with i915tex. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=159ecba4b335f09cb9345c67f48187db796f8955;p=mesa.git i915: Bring test for vsync to pipe B in line with i915tex. --- 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;