replace new with singletone to fix cannot re-declare object lof file spam

This commit is contained in:
Marc 2021-09-08 15:18:04 +01:00
parent b44a8cf644
commit c285813540
4 changed files with 9 additions and 9 deletions

View file

@ -34,7 +34,7 @@ singleton shaderData( AL_ShadowVisualizeShader )
pixVersion = 2.0;
};
new CustomMaterial( AL_ShadowVisualizeMaterial )
singleton CustomMaterial( AL_ShadowVisualizeMaterial )
{
shader = AL_ShadowVisualizeShader;
stateBlock = AL_DepthVisualizeState;