From: Rudolf Polzer Date: Sun, 19 Feb 2012 16:12:52 +0000 (+0100) Subject: only mipmap those that need it X-Git-Tag: xonotic-v0.6.0~66^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=361029b3e2fbcca7c7930b26ef5118c6cdaac3bb;p=xonotic%2Fxonotic-data.pk3dir.git only mipmap those that need it --- diff --git a/qcsrc/menu/xonotic/serverlist.c b/qcsrc/menu/xonotic/serverlist.c index a8494f8de..66f35678c 100644 --- a/qcsrc/menu/xonotic/serverlist.c +++ b/qcsrc/menu/xonotic/serverlist.c @@ -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;