aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Image.c8
1 files changed, 4 insertions, 4 deletions
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.