summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-02-07 15:04:56 +0000
committerBrian Paul <[email protected]>2005-02-07 15:04:56 +0000
commit049290c584f19d5f551b234292e76154e2857179 (patch)
tree6ffe935b5df9b7c579ce39a1d15573273c20e26e /src
parent71699df7de8cc732caf6d4b8adb4ab2d1f0c7c1f (diff)
improved warning message
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/x11/xm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 70ef10ea124..2e87ca928a9 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -1745,7 +1745,7 @@ XMesaBuffer XMesaCreateWindowBuffer2( XMesaVisual v, XMesaWindow w,
if (GET_VISUAL_DEPTH(v) != attr.depth) {
#endif
- _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual and window!\n");
+ _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual and window! (%d != %d)\n", GET_VISUAL_DEPTH(v) , attr.depth );
return NULL;
}