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-Tag: 062012170305~19618 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=159ecba4b335f09cb9345c67f48187db796f8955;p=profile%2Fivi%2Fmesa.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 4db4edd..d201fcf 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;