xf86-video-intel: src/i830_exa.c

Kristian Høgsberg krh at kemper.freedesktop.org
Wed May 20 09:34:16 PDT 2009


 src/i830_exa.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit ad2128825ba28551cfef203da017151e2eac32ef
Author: Kristian Høgsberg <krh at redhat.com>
Date:   Wed May 20 12:32:10 2009 -0400

    Only return FALSE when dri_bo_map() fails
    
    Small typo in the previous commit.

diff --git a/src/i830_exa.c b/src/i830_exa.c
index 3ca7933..d0ada02 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -514,11 +514,12 @@ i830_uxa_prepare_access (PixmapPtr pixmap, uxa_access_t access)
 		    return FALSE;
 		}
 	    } else {
-		if (dri_bo_map(bo, access == UXA_ACCESS_RW) != 0)
+		if (dri_bo_map(bo, access == UXA_ACCESS_RW) != 0) {
 		    xf86DrvMsg(scrn->scrnIndex, X_WARNING,
 			       "%s: bo map failed\n",
 			       __FUNCTION__);
-		return FALSE;
+		    return FALSE;
+		}
 	    }
 	    pixmap->devPrivate.ptr = bo->virtual;
 	} else { /* or not... */


More information about the xorg-commit mailing list