[xf86-video-intel PATCH 1/2] sna: Fix misspelled crtc introduced by commit 4094826.

Johannes Obermayr johannesobermayr at gmx.de
Sat May 26 14:52:27 PDT 2012


---
 src/sna/sna_dri.c            |    2 +-
 src/sna/sna_video_textured.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c
index a1f671a..632c57d 100644
--- a/src/sna/sna_dri.c
+++ b/src/sna/sna_dri.c
@@ -493,7 +493,7 @@ sna_dri_copy_to_front(struct sna *sna, DrawablePtr draw, RegionPtr region,
 
 	DBG(("%s: flushing? %d\n", __FUNCTION__, flush));
 	if (flush) { /* STAT! */
-		assert(sna_crtc_is_bound(sna, ctrc));
+		assert(sna_crtc_is_bound(sna, crtc));
 		kgem_submit(&sna->kgem);
 	}
 
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c
index 9247e88..e1806d5 100644
--- a/src/sna/sna_video_textured.c
+++ b/src/sna/sna_video_textured.c
@@ -308,7 +308,7 @@ sna_video_textured_put_image(ScrnInfoPtr scrn,
 	 * we can hit the next vsync.
 	 */
 	if (flush) {
-		assert(sna_crtc_is_bound(sna, ctrc));
+		assert(sna_crtc_is_bound(sna, crtc));
 		kgem_submit(&sna->kgem);
 	}
 
-- 
1.7.7



More information about the xorg-devel mailing list