Release temporary RT safety

pull/87/head
mob-sakai 2019-03-16 17:09:27 +09:00
parent 0fa3218849
commit 662df310a2
1 changed files with 1 additions and 0 deletions

View File

@ -553,6 +553,7 @@ namespace Coffee.UIExtensions
{
if (tmpRT)
{
tmpRT.Release();
RenderTexture.ReleaseTemporary(tmpRT);
tmpRT = null;
}