]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
only mipmap those that need it
authorRudolf Polzer <divverent@xonotic.org>
Sun, 19 Feb 2012 16:12:52 +0000 (17:12 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 19 Feb 2012 16:12:52 +0000 (17:12 +0100)
qcsrc/menu/xonotic/serverlist.c

index a8494f8defe2b6ace5e30793af4295e86f7e07c6..66f35678ce412ad5880dd978310f82091d09d837 100644 (file)
@@ -745,9 +745,9 @@ void XonoticServerList_drawListBoxItem(entity me, float i, vector absSize, float
                {
                        n = string_null;
                        if(isv6)
-                               draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_ipv6"), PRECACHE_PIC_MIPMAP);
+                               draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_ipv6"), 0); // PRECACHE_PIC_MIPMAP
                        else if(isv4)
-                               draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_ipv4"), PRECACHE_PIC_MIPMAP);
+                               draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_ipv4"), 0); // PRECACHE_PIC_MIPMAP
                        if(n)
                                draw_Picture(iconPos, n, iconSize, '1 1 1', 1);
                        iconPos_x += iconSize_x;
@@ -755,7 +755,7 @@ void XonoticServerList_drawListBoxItem(entity me, float i, vector absSize, float
 
                if(q > 0)
                {
-                       draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_aeslevel", ftos(q)), PRECACHE_PIC_MIPMAP);
+                       draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_aeslevel", ftos(q)), 0); // PRECACHE_PIC_MIPMAP
                        draw_Picture(iconPos, n, iconSize, '1 1 1', 1);
                }
                iconPos_x += iconSize_x;
@@ -782,7 +782,7 @@ void XonoticServerList_drawListBoxItem(entity me, float i, vector absSize, float
 
                if(sflags >= 0 && (sflags & SERVERFLAG_PLAYERSTATS))
                {
-                       draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_stats1"), PRECACHE_PIC_MIPMAP);
+                       draw_PreloadPictureWithFlags(n = strcat(SKINGFX_SERVERLIST_ICON, "_stats1"), 0); // PRECACHE_PIC_MIPMAP
                        draw_Picture(iconPos, n, iconSize, '1 1 1', 1);
                }
                iconPos_x += iconSize_x;