]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Silence some noisy font-related prints. Make them debug prints.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 May 2020 21:02:20 +0000 (21:02 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 May 2020 21:02:20 +0000 (21:02 +0000)
From Mario.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12531 d7cf8633-e32d-0410-b094-e92efae38249

gl_draw.c

index b0480a6b2e786cd82f57ecbb513f5787dc75d655..21871af5a01852aa12842a1d76690ea0532e6b84 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -133,7 +133,7 @@ cachepic_t *Draw_CachePic_Flags(const char *path, unsigned int cachepicflags)
 
        if (numcachepics == MAX_CACHED_PICS)
        {
-               Con_Printf ("Draw_CachePic(\"%s\"): frame %i: numcachepics == MAX_CACHED_PICS\n", path, draw_frame);
+               Con_DPrintf ("Draw_CachePic(\"%s\"): frame %i: numcachepics == MAX_CACHED_PICS\n", path, draw_frame);
                // FIXME: support NULL in callers?
                return cachepics; // return the first one
        }
@@ -270,17 +270,17 @@ cachepic_t *Draw_NewPic(const char *picname, int width, int height, unsigned cha
                        pic->lastusedframe = draw_frame;
                        return pic;
                }
-               Con_Printf("Draw_NewPic(\"%s\"): frame %i: reloading pic because flags/size changed\n", picname, draw_frame);
+               Con_DPrintf("Draw_NewPic(\"%s\"): frame %i: reloading pic because flags/size changed\n", picname, draw_frame);
        }
        else
        {
                if (numcachepics == MAX_CACHED_PICS)
                {
-                       Con_Printf ("Draw_NewPic(\"%s\"): frame %i: numcachepics == MAX_CACHED_PICS\n", picname, draw_frame);
+                       Con_DPrintf ("Draw_NewPic(\"%s\"): frame %i: numcachepics == MAX_CACHED_PICS\n", picname, draw_frame);
                        // FIXME: support NULL in callers?
                        return cachepics; // return the first one
                }
-               Con_Printf("Draw_NewPic(\"%s\"): frame %i: creating new cachepic\n", picname, draw_frame);
+               Con_DPrintf("Draw_NewPic(\"%s\"): frame %i: creating new cachepic\n", picname, draw_frame);
                pic = cachepics + (numcachepics++);
                memset(pic, 0, sizeof(*pic));
                strlcpy (pic->name, picname, sizeof(pic->name));
@@ -437,7 +437,7 @@ void LoadFont(qboolean override, const char *name, dp_font_t *fnt, float scale,
                                        }
                                        else
                                        {
-                                               Con_Printf("Warning: skipped unknown font property %s\n", com_token);
+                                               Con_DPrintf("Warning: skipped unknown font property %s\n", com_token);
                                                if(!COM_ParseToken_Simple(&p, false, false, true))
                                                        return;
                                        }