Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
vddCore committed May 27, 2024
1 parent d13f908 commit 7ff5613
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Chroma.Examples/ArbitraryGeometry/GameCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected override void Initialize(IContentProvider content)
_texture = new Texture(1, 1);
_texture[0, 0] = Color.White;

_ps = Content.Load<PixelShader>("Shaders/untextured.frag");
_ps = content.Load<PixelShader>("Shaders/untextured.frag");
}

private void With3D(Action action)
Expand Down
5 changes: 4 additions & 1 deletion Chroma.Examples/MusicAndSounds/GameCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ namespace MusicAndSounds
public class GameCore : Game
{
private static readonly Log _log = LogManager.GetForCurrentAssembly();
private IContentProvider _content;

private Sound _doomShotgun;
private Music _elysiumMod;
Expand Down Expand Up @@ -59,6 +60,8 @@ protected override IContentProvider InitializeContentPipeline()

protected override void Initialize(IContentProvider content)
{
_content ??= content;

_doomShotgun = content.Load<Sound>("Sounds/doomsg.wav");
_elysiumMod = content.Load<Music>("Music/elysium.mod");

Expand Down Expand Up @@ -215,7 +218,7 @@ protected override void KeyPressed(KeyEventArgs e)
Audio.Output.Close();
Audio.Output.Open();

Initialize(Content);
Initialize(_content);

break;

Expand Down
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.63.2</Version>
<Version>0.64.0</Version>
<Author>vddCore</Author>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Chroma-2D/Chroma</RepositoryUrl>
Expand Down

0 comments on commit 7ff5613

Please sign in to comment.