Esempio n. 1
0
void CM_ShutdownShaderProperties(void)
{
	if(cmShaderTable.count())
	{
//		Com_Printf("Shutting down cmShaderTable .....\n");
		cmShaderTable.clear();
	}
}
Esempio n. 2
0
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());
}