diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-04-10 11:05:17 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-04-10 11:05:17 +0200 |
commit | 159ecba4b335f09cb9345c67f48187db796f8955 (patch) | |
tree | ce76bbfe6da5c15f8d5f5c347aef9c2af2669cd4 /src | |
parent | e798d22556e0281240b448d5a0baa0ba9a68e134 (diff) |
i915: Bring test for vsync to pipe B in line with i915tex.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |