From 159ecba4b335f09cb9345c67f48187db796f8955 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Tue, 10 Apr 2007 11:05:17 +0200 Subject: 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(-) (limited to 'src/mesa/drivers/dri/i915/intel_context.c') diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 4db4edd17b..d201fcf323 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; -- cgit v1.2.3