Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mrvux/dx11-vvvv
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvux committed Dec 30, 2015
2 parents fe26e7c + ce0fc4d commit d19bdce
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,13 @@ public void Destroy(IPluginIO pin, DX11RenderContext context, bool force)
#region IDisposable Members
public void Dispose()
{
this.FTextureOutput[0].Dispose();
if (this.FTextureOutput.SliceCount > 0)
{
if (this.FTextureOutput[0] != null)
{
this.FTextureOutput[0].Dispose();
}
}
}
#endregion
}
Expand Down

0 comments on commit d19bdce

Please sign in to comment.