summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-08-22 01:35:10 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-08-22 02:16:02 +0100
commit54fb71b863c6a4d4cda61c69d842f7ee91d062f9 (patch)
tree85531b7b818c51b3f7ee02b5f5f807b2e347cc00
parenta3e59b9d06bcad6b1ab741ee659a4db0d119d5ef (diff)
st/dri: Remove some debug prints
-rw-r--r--src/gallium/state_trackers/dri/dri_drawable.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c
index 2d5510a6fc..acec719037 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;