Tried to fix map rendering issues

This commit is contained in:
Mootfrost777 2024-08-17 10:58:46 +03:00
parent 4d178a6aa2
commit bbc1a88571

View file

@ -83,7 +83,6 @@ namespace ZoFo.GameCore.GameManagers
currentGUI.LoadContent(); currentGUI.LoadContent();
animationBuilder = new AnimationBuilder(); animationBuilder = new AnimationBuilder();
animationBuilder.LoadAnimations(); animationBuilder.LoadAnimations();
} }
@ -121,7 +120,9 @@ namespace ZoFo.GameCore.GameManagers
currentGUI.Draw(_spriteBatch); currentGUI.Draw(_spriteBatch);
debugHud.Draw(_spriteBatch); debugHud.Draw(_spriteBatch);
_spriteBatch.Begin();
// Pointwrap
_spriteBatch.Begin(samplerState: SamplerState.PointWrap);
switch (gamestate) switch (gamestate)
{ {
case GameState.ClientPlaying: case GameState.ClientPlaying: