xf86-video-intel: src/sna/sna_display.c
Chris Wilson
ickle at kemper.freedesktop.org
Tue Apr 15 02:29:50 PDT 2014
src/sna/sna_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 13054a00dadedae6495eb5cdf586b7916b82053e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Apr 15 10:28:32 2014 +0100
sna: Fix up cut'n'paste typo in assertion
sna_display.c:3176:43: error: 'struct <anonymous>' has no member named 'rotation'
assert(cursor->rotation != sna->cursor.rotation);
Reported-by: Ildar Nurislamov
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index a2ba5da..b1f88a6 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3173,7 +3173,7 @@ static struct sna_cursor *__sna_get_cursor(struct sna *sna, xf86CrtcPtr crtc)
if (cursor->alloc >= 4*size*size && cursor->serial != sna->cursor.serial) {
__DBG(("%s: stealing handle=%d, serial=%d, rotation=%d, alloc=%d\n",
__FUNCTION__, cursor->handle, cursor->serial, cursor->rotation, cursor->alloc));
- assert(cursor->rotation != sna->cursor.rotation);
+ assert(cursor->rotation != rotation);
break;
}
}
More information about the xorg-commit
mailing list