st/dri: Remove some debug prints
authorJakob Bornecrantz <jakob@vmware.com>
Sat, 22 Aug 2009 00:35:10 +0000 (01:35 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Sat, 22 Aug 2009 01:16:02 +0000 (02:16 +0100)
src/gallium/state_trackers/dri/dri_drawable.c

index 2d5510a6fc83629a4c556c224d8b6f4d57ffd320..acec71903742f54f619461ae6a5881c7e4267ae8 100644 (file)
@@ -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;