void CM_ShutdownShaderProperties(void) { if(cmShaderTable.count()) { // Com_Printf("Shutting down cmShaderTable .....\n"); cmShaderTable.clear(); } }
void CM_LoadShaderText(qboolean forceReload) { if(forceReload) { CM_FreeShaderText(); } if(shaderText) { return; } Com_Printf("Loading shader text .....\n"); CM_LoadShaderFiles(); CM_CreateShaderTextHash(); Com_Printf("..... %d shader definitions loaded\n", shaderTextTable.count()); }