mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Don't purge tracker icons. (#233)
This commit is contained in:
parent
1c201c0321
commit
435a020cb8
1 changed files with 2 additions and 2 deletions
|
@ -426,7 +426,7 @@ static image_t *Font_GetTrackerImage(unsigned int imid)
|
|||
{
|
||||
if (!*trackerimages[imid].name)
|
||||
return NULL;
|
||||
trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, IF_PREMULTIPLYALPHA|IF_UIPIC, NULL, NULL, 0, 0, TF_INVALID);
|
||||
trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, IF_PREMULTIPLYALPHA|IF_UIPIC|IF_NOPURGE, NULL, NULL, 0, 0, TF_INVALID);
|
||||
}
|
||||
if (!trackerimages[imid].image)
|
||||
return NULL;
|
||||
|
@ -443,7 +443,7 @@ qboolean Font_TrackerValid(unsigned int imid)
|
|||
{
|
||||
if (!*trackerimages[imid].name)
|
||||
return false;
|
||||
trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, IF_PREMULTIPLYALPHA|IF_UIPIC, NULL, NULL, 0, 0, TF_INVALID);
|
||||
trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, IF_PREMULTIPLYALPHA|IF_UIPIC|IF_NOPURGE, NULL, NULL, 0, 0, TF_INVALID);
|
||||
}
|
||||
if (!trackerimages[imid].image)
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue