summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intel_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_video.c b/src/intel_video.c
index cdff149d6..2786201c5 100644
--- a/src/intel_video.c
+++ b/src/intel_video.c
@@ -1348,7 +1348,7 @@ intel_wait_for_scanline(ScrnInfoPtr scrn, PixmapPtr pixmap,
event = MI_WAIT_FOR_PIPEB_SVBLANK;
}
- if (scrn->currentMode->Flags & V_INTERLACE) {
+ if (crtc->mode.Flags & V_INTERLACE) {
/* DSL count field lines */
y1 /= 2;
y2 /= 2;