From: Brian Paul Date: Mon, 7 Feb 2005 15:04:56 +0000 (+0000) Subject: improved warning message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049290c584f19d5f551b234292e76154e2857179;p=mesa.git improved warning message --- 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; }