diff options
author | Brian Paul <[email protected]> | 2005-04-04 16:06:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-04-04 16:06:16 +0000 |
commit | a92100a3c6f13597b9f9c47987d232dadd4ebe93 (patch) | |
tree | 0d377b81ac2815ced82f2d0589ccb62f9623616f /src/mesa | |
parent | fe1230f1c88fbe2e756f159625988ec3c66be2e6 (diff) |
updated warning string to match patch in bug report 2868
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 55fc86748e4..873d196c940 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -1740,14 +1740,16 @@ XMesaBuffer XMesaCreateWindowBuffer2( XMesaVisual v, XMesaWindow w, #ifdef XFree86Server if (GET_VISUAL_DEPTH(v) != ((XMesaDrawable)w)->depth) { - _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual and window! (%d != %d)\n", GET_VISUAL_DEPTH(v) , ((XMesaDrawable)w)->depth ); + _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual (%d) and window (%d)!\n", + GET_VISUAL_DEPTH(v), ((XMesaDrawable) w)->depth); return NULL; } #else XGetWindowAttributes( v->display, w, &attr ); if (GET_VISUAL_DEPTH(v) != attr.depth) { - _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual and window! (%d != %d)\n", GET_VISUAL_DEPTH(v) , attr.depth ); + _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual (%d) and window (%d)!\n", + GET_VISUAL_DEPTH(v), attr.depth); return NULL; } #endif |