diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-15 10:28:32 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-15 10:28:32 +0100 |
commit | 13054a00dadedae6495eb5cdf586b7916b82053e (patch) | |
tree | 88156b654bebbd7baf2bdc5875b89da6762b6fe2 /src | |
parent | 1ed8647aef012d30c602f86fc6f97a0a92d7710f (diff) |
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@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index a2ba5da3..b1f88a66 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; } } |