From a9350b8abe1e42bba3e2f2bec7ed6c90ebb29fe6 Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Fri, 17 Jul 2020 13:56:30 -0700 Subject: [PATCH] fix name --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(