From: Jakob Bornecrantz Date: Sat, 22 Aug 2009 00:35:10 +0000 (+0100) Subject: st/dri: Remove some debug prints X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54fb71b863c6a4d4cda61c69d842f7ee91d062f9;p=mesa.git st/dri: Remove some debug prints --- diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c index 2d5510a6fc8..acec7190374 100644 --- a/src/gallium/state_trackers/dri/dri_drawable.c +++ b/src/gallium/state_trackers/dri/dri_drawable.c @@ -297,26 +297,20 @@ dri_create_buffer(__DRIscreenPrivate * sPriv, drawable->color_format = (visual->redBits == 8) ? PIPE_FORMAT_A8R8G8B8_UNORM : PIPE_FORMAT_R5G6B5_UNORM; - debug_printf("Red bits is %d\n", visual->redBits); - switch(visual->depthBits) { default: case 0: - debug_printf("Depth buffer 0.\n"); drawable->depth_format = PIPE_FORMAT_NONE; break; case 16: - debug_printf("Depth buffer 16.\n"); drawable->depth_format = PIPE_FORMAT_Z16_UNORM; break; case 24: if (visual->stencilBits == 0) { - debug_printf("Depth buffer 24. Stencil 0.\n"); drawable->depth_format = (screen->d_depth_bits_last) ? PIPE_FORMAT_X8Z24_UNORM: PIPE_FORMAT_Z24X8_UNORM; } else { - debug_printf("Combined depth stencil 24 / 8.\n"); drawable->depth_format = (screen->sd_depth_bits_last) ? PIPE_FORMAT_S8Z24_UNORM: PIPE_FORMAT_Z24S8_UNORM;