Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor GamePlatform #150

Merged
merged 16 commits into from
Jan 28, 2023
2 changes: 1 addition & 1 deletion MonoGame.Framework/ConcreteGraphicsDeviceManager.Blazor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private void GraphicsDevice_DeviceReset_UpdateTouchPanel(object sender, EventArg

private void GraphicsDevice_PresentationChanged_UpdateGamePlatform(object sender, PresentationEventArgs args)
{
base.Game.Platform.OnPresentationChanged(args.PresentationParameters);
base.Game.Strategy.OnPresentationChanged(args.PresentationParameters);
}

}
Expand Down
2 changes: 1 addition & 1 deletion MonoGame.Framework/ConcreteGraphicsDeviceManager.SDL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private void GraphicsDevice_DeviceReset_UpdateTouchPanel(object sender, EventArg

private void GraphicsDevice_PresentationChanged_UpdateGamePlatform(object sender, PresentationEventArgs args)
{
base.Game.Platform.OnPresentationChanged(args.PresentationParameters);
base.Game.Strategy.OnPresentationChanged(args.PresentationParameters);
}

}
Expand Down
2 changes: 1 addition & 1 deletion MonoGame.Framework/ConcreteGraphicsDeviceManager.UWP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ private void GraphicsDevice_DeviceReset_UpdateTouchPanel(object sender, EventArg

private void GraphicsDevice_PresentationChanged_UpdateGamePlatform(object sender, PresentationEventArgs args)
{
base.Game.Platform.OnPresentationChanged(args.PresentationParameters);
base.Game.Strategy.OnPresentationChanged(args.PresentationParameters);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private void GraphicsDevice_DeviceReset_UpdateTouchPanel(object sender, EventArg

private void GraphicsDevice_PresentationChanged_UpdateGamePlatform(object sender, PresentationEventArgs args)
{
base.Game.Platform.OnPresentationChanged(args.PresentationParameters);
base.Game.Strategy.OnPresentationChanged(args.PresentationParameters);
}

}
Expand Down
Loading