diff options
author | Eric Anholt <eric@anholt.net> | 2009-05-21 11:05:01 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-05-26 11:04:54 -0700 |
commit | c3bf8b980134a2761701e4bc18235695a1cb07a4 (patch) | |
tree | 713805229947876947d09f8e2cb911269f83bbf3 | |
parent | ad2128825ba28551cfef203da017151e2eac32ef (diff) |
Fix backwards logic on whether to sync to vblank or not.
Thanks to Michel Dänzer for catching it.
-rw-r--r-- | src/i830_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c index 6fec8ff5..5beee520 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2497,7 +2497,7 @@ I830PutImage(ScrnInfoPtr pScrn, int y1, y2; int pipe = -1, event, load_scan_lines_pipe; - if (pPixmap != pScreen->GetScreenPixmap(pScreen)) { + if (pPixmap == pScreen->GetScreenPixmap(pScreen)) { if (pI830->use_drm_mode) pipe = drmmode_get_pipe_from_crtc_id(pI830->bufmgr, crtc); else { |