xf86-video-intel: src/i830_video.c

Eric Anholt anholt at kemper.freedesktop.org
Tue May 26 11:05:09 PDT 2009


 src/i830_video.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c3bf8b980134a2761701e4bc18235695a1cb07a4
Author: Eric Anholt <eric at anholt.net>
Date:   Thu May 21 11:05:01 2009 -0700

    Fix backwards logic on whether to sync to vblank or not.
    
    Thanks to Michel Dänzer for catching it.

diff --git a/src/i830_video.c b/src/i830_video.c
index 6fec8ff..5beee52 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 {


More information about the xorg-commit mailing list