From 520c80f4b807ae6419e70fe2b524532465b509ac Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Jun 2006 14:40:27 -0700 Subject: [PATCH] Don't forget to step the rows when verifying the equivalence of fb/sys areas. This is only used by fakexa, but we would have missed some errors without this fix. --- exa/exa_migration.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exa/exa_migration.c b/exa/exa_migration.c index 57d651f80..06a4b9330 100644 --- a/exa/exa_migration.c +++ b/exa/exa_migration.c @@ -435,6 +435,8 @@ exaAssertNotDirty (PixmapPtr pPixmap) if (memcmp(dst, src, data_row_bytes) != 0) { abort(); } + dst += dst_pitch; + src += src_pitch; } exaFinishAccess(&pPixmap->drawable, EXA_PREPARE_SRC); }