diff --git a/README.md b/README.md index 1eb74a8..5e7b246 100644 --- a/README.md +++ b/README.md @@ -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(