fix name
parent
0999b7da78
commit
a9350b8abe
|
@ -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
|
|||
null,
|
||||
null,
|
||||
null,
|
||||
Resolution.TransformMatrix
|
||||
ResolutionScaler.TransformMatrix
|
||||
);
|
||||
|
||||
SpriteBatch.Draw(
|
||||
|
|
Loading…
Reference in New Issue