Skip to content

Commit

Permalink
Ensure garbage collector disposes all shaders on main thread, update …
Browse files Browse the repository at this point in the history
…SDL to 2.30.5.
  • Loading branch information
vddCore committed Jul 25, 2024
1 parent 7ff5613 commit 5ffd20c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Chroma/Chroma.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</Description>

<PackageId>Chroma</PackageId>
<Version>0.64.0</Version>
<Version>0.64.1</Version>
<Author>vddCore</Author>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Chroma-2D/Chroma</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion Chroma/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ internal void OnControllerAccelerometerStateChanged(ControllerSensorEventArgs e)
private void OnDomainUnhandledException(object sender, UnhandledExceptionEventArgs e)
{
_log.Error(
$"Unhandled exception. There are two people who could've fucked this up." +
$"Unhandled exception. There are two people who could've fucked this up. " +
$"You or me.\n\n{e.ExceptionObject}"
);
}
Expand Down
2 changes: 1 addition & 1 deletion Chroma/MemoryManagement/DisposableResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class DisposableResource : IDisposable

~DisposableResource()
{
Dispose(false);
Dispatcher.RunOnMainThread(() => Dispose(false));
}

protected virtual void FreeManagedResources()
Expand Down
2 changes: 1 addition & 1 deletion Dependencies/lib/buildvars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SKIP_FT=1

FT_TAG=VER-2-13-2
HB_TAG=8.4.0
SDL_VER=30.3
SDL_VER=30.5
SDL_TAG=release-2.$SDL_VER
SDLSOUND_VER=2.0.3

Expand Down

0 comments on commit 5ffd20c

Please sign in to comment.