From a13c664aaf1672b668aec6ed7a6932896de40c57 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 7 May 2004 09:38:37 +0000 Subject: Suppressed traces --- generic/Image.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'generic') diff --git a/generic/Image.c b/generic/Image.c index 9db3b1b..7157bdf 100644 --- a/generic/Image.c +++ b/generic/Image.c @@ -954,7 +954,7 @@ ZnImageTex(ZnImage image, unsigned int t_size, width, height; if (!this->for_gl) { - printf("Bogus use of an image, it was created for X11 and used in a GL context\n"); + fprintf(stderr, "Bogus use of an image, it was created for X11 and used in a GL context\n"); return 0; } ZnSizeOfImage(image, &width, &height); @@ -1231,13 +1231,13 @@ SuckGlyphsFromServer(ZnWInfo *wi, tex_height = To2Power(tex_height); tex_width = To2Power(tex_width); if ((tex_height > ce->max_tex_size) || (tex_width > ce->max_tex_size)) { - printf("Font doesn't fit into a texture\n"); + fprintf(stderr, "Font doesn't fit into a texture\n"); goto FreeAndReturn; } txf->tex_width = tex_width; txf->tex_height = tex_height; - printf("(%s) Texture size is %d x %d for %d chars (max size: %d)\n", - Tk_NameOfFont(font), txf->tex_width, txf->tex_height, txf->num_glyphs, ce->max_tex_size); + /*printf("(%s) Texture size is %d x %d for %d chars (max size: %d)\n", + Tk_NameOfFont(font), txf->tex_width, txf->tex_height, txf->num_glyphs, ce->max_tex_size);*/ /* * Now render the font bits into the texture. -- cgit v1.1