diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-09 11:12:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-09 11:41:17 +0100 |
commit | 8a9a17cd092d156272e8953974119f527b2b77eb (patch) | |
tree | b3882d34ffe88c099a326b341ad565b307f9ec68 /src | |
parent | b11bc37684181390fc1400afb44054785104ca15 (diff) |
sna: Improve the check for assertions
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_driver.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index e645ee63..484c982e 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -1100,14 +1100,18 @@ Bool sna_init_scrn(ScrnInfoPtr scrn, int entity_num) xf86DrvMsg(scrn->scrnIndex, X_INFO, "SNA compiled: %s\n", BUILDER_DESCRIPTION); #endif -#if HAS_EXTRA_DEBUG +#if !NDEBUG xf86DrvMsg(scrn->scrnIndex, X_INFO, - "SNA compiled with debugging enabled\n"); + "SNA compiled with assertions enabled\n"); #endif #if DEBUG_MEMORY xf86DrvMsg(scrn->scrnIndex, X_INFO, "SNA compiled with memory allocation reporting enabled\n"); #endif +#if DEBUG_PIXMAP + xf86DrvMsg(scrn->scrnIndex, X_INFO, + "SNA compiled with extra pixmap/damage validation\n"); +#endif DBG(("%s\n", __FUNCTION__)); DBG(("pixman version: %s\n", pixman_version_string())); |