Update UIGaussianBlurLayer.cs

This commit is contained in:
ALEXTANG
2023-07-19 17:34:02 +08:00
parent 0d177e6868
commit 889fbdc8e1

View File

@@ -50,10 +50,10 @@ namespace TEngine
shader = Shader.Find(m_shaderName);
if (shader == null)
{
var dodShader = new TShader(m_shaderName);
if (dodShader.Shader != null)
var tShader = new TShader(m_shaderName);
if (tShader.Shader != null)
{
shader = dodShader.Shader;
shader = tShader.Shader;
}
}
}