1
0
mirror of synced 2024-12-03 03:27:23 +01:00

Allow shader parameters to be adjusted in size

This commit is contained in:
KillzXGaming 2019-11-15 20:05:42 -05:00
parent 9c3ac9ae9f
commit aa9cef7bb0

View File

@ -421,10 +421,6 @@ namespace FirstPlugin
mat.ShaderParamData = new byte[0];
byte[] ParamData = WriteShaderParams(m, mat);
if (ParamData.Length != mat.ShaderParamData.Length)
throw new Exception("Param size mis match!");
else
mat.ShaderParamData = ParamData;
WriteRenderInfo(m, mat);