Browse Source

fix name

main
Evan Hemsley 2 years ago
parent
commit
a9350b8abe
  1. 4
      README.md

4
README.md

@ -7,7 +7,7 @@ A simple script for managing resolution scaling in FNA. @@ -7,7 +7,7 @@ A simple script for managing resolution scaling in FNA.
Call **ResolutionScaler.Init** with your display width and height, and your virtual width and height.
```cs
Resolution.Init(
ResolutionScaler.Init(
GraphicsDevice.PresentationParameters.BackBufferWidth,
GraphicsDevice.PresentationParameters.BackBufferHeight,
PLAY_AREA_WIDTH,
@ -25,7 +25,7 @@ Then you can pass **ResolutionScaler.TransformMatrix** to FNA's *SpriteBatch* to @@ -25,7 +25,7 @@ Then you can pass **ResolutionScaler.TransformMatrix** to FNA's *SpriteBatch* to
null,
null,
null,
Resolution.TransformMatrix
ResolutionScaler.TransformMatrix
);
SpriteBatch.Draw(

Loading…
Cancel
Save