summaryrefslogtreecommitdiff
path: root/exa/exa_offscreen.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-04-29 23:49:41 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-04-29 23:49:41 +0200
commit3c91a993e8c752002adf85c317216e1487c20780 (patch)
treee8c1fe3868cfc8880b265058d58d0a3a817c4a6e /exa/exa_offscreen.c
parenta261e1325057974d58440812b93c00c0caa4423a (diff)
EXA: Fix OffscreenValidate build with DEBUG_OFFSCREEN enabled.
Diffstat (limited to 'exa/exa_offscreen.c')
-rw-r--r--exa/exa_offscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_offscreen.c b/exa/exa_offscreen.c
index 38ad58f60..6fe646a88 100644
--- a/exa/exa_offscreen.c
+++ b/exa/exa_offscreen.c
@@ -54,7 +54,7 @@ ExaOffscreenValidate (ScreenPtr pScreen)
assert (area->offset >= area->base_offset &&
area->offset < (area->base_offset + area->size));
if (prev)
- assert (prev->base_offset + prev->area.size == area->base_offset);
+ assert (prev->base_offset + prev->size == area->base_offset);
prev = area;
}
assert (prev->base_offset + prev->size == pExaScr->info->memorySize);