improved warning message
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Feb 2005 15:04:56 +0000 (15:04 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 7 Feb 2005 15:04:56 +0000 (15:04 +0000)
src/mesa/drivers/x11/xm_api.c

index 70ef10e..2e87ca9 100644 (file)
@@ -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;
    }