Searched refs:translationtablecache (Results 1 – 1 of 1) sorted by relevance
137 static UINT8 **translationtablecache[MAXSKINS + 7] = {NULL}; variable588 if (!translationtablecache[skintableindex]) in R_GetTranslationColormap()589 …translationtablecache[skintableindex] = Z_Calloc(MAXSKINCOLORS * sizeof(UINT8**), PU_STATIC, NULL); in R_GetTranslationColormap()592 ret = translationtablecache[skintableindex][color]; in R_GetTranslationColormap()597 for (i = 0; i < (INT32)(sizeof(translationtablecache) / sizeof(translationtablecache[0])); i++) in R_GetTranslationColormap()598 if (translationtablecache[i] && translationtablecache[i][color]) in R_GetTranslationColormap()599 R_GenerateTranslationColormap(translationtablecache[i][color], CacheIndexToSkin(i), color); in R_GetTranslationColormap()614 translationtablecache[skintableindex][color] = ret; in R_GetTranslationColormap()632 for (i = 0; i < (INT32)(sizeof(translationtablecache) / sizeof(translationtablecache[0])); i++) in R_FlushTranslationColormapCache()633 if (translationtablecache[i]) in R_FlushTranslationColormapCache()[all …]