feat: defer texturewrap dispose until the end of the frame

This commit is contained in:
goat 2022-12-14 21:57:21 +01:00
parent f9acd82d81
commit f78c5157c8
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
3 changed files with 80 additions and 5 deletions

View file

@ -131,7 +131,7 @@
</PropertyGroup>
<!-- Looks like this is the only way to write a file without a carriage return in msbuild... -->
<Exec Command="echo|set /P =&quot;$(BuildHash)&quot; &gt; $(TempVerFile)" IgnoreExitCode="true"/>
<Exec Command="echo|set /P =&quot;$(BuildHash)&quot; &gt; $(TempVerFile)" IgnoreExitCode="true" />
</Target>
<Target Name="GetGitHashStub" BeforeTargets="WriteGitHash" Condition="'$(BuildHash)'=='' And '$(Configuration)'=='Debug'">
@ -143,7 +143,7 @@
</PropertyGroup>
<!-- Looks like this is the only way to write a file without a carriage return in msbuild... -->
<Exec Command="echo|set /P =&quot;$(BuildHash)&quot; &gt; $(TempVerFile)" IgnoreExitCode="true"/>
<Exec Command="echo|set /P =&quot;$(BuildHash)&quot; &gt; $(TempVerFile)" IgnoreExitCode="true" />
</Target>
<Target Name="WriteGitHash" BeforeTargets="CoreCompile">