Skip to content

Commit

Permalink
Fix dumb order mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
mike309game committed Sep 3, 2022
1 parent 8430db0 commit 09150d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GmTileHistory/GameMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ void ApplyScreen(int width, int height, bool fullscreen) {
m_gdm.PreferredBackBufferWidth = width;
m_gdm.PreferredBackBufferHeight = height;
m_gdm.IsFullScreen = fullscreen;
m_gdm.ApplyChanges();
Liner.m_basicEffect.Projection = Matrix.CreateOrthographicOffCenter
(0, GraphicsDevice.Viewport.Width, // left, right
GraphicsDevice.Viewport.Height, 0, // bottom, top
0, 1);
m_gdm.ApplyChanges();
}

protected override void Draw(GameTime gameTime) {
Expand Down

0 comments on commit 09150d1

Please sign in to comment.