Skip to content

Commit

Permalink
Merge pull request MonoGame#6638 from cra0zy/fd
Browse files Browse the repository at this point in the history
Fix DesktopGL template variable names
  • Loading branch information
Jjagg authored Jan 17, 2019
2 parents 6ef30f1 + 04feee9 commit 7c982ed
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ namespace MGNamespace
{
public class Game1 : Game
{
GraphicsDeviceManager graphics;
SpriteBatch spriteBatch;
private GraphicsDeviceManager _graphics;
private SpriteBatch _spriteBatch;

public Game1()
{
graphics = new GraphicsDeviceManager(this);
_graphics = new GraphicsDeviceManager(this);
Content.RootDirectory = "Content";
IsMouseVisible = true;
}
Expand All @@ -25,7 +25,7 @@ protected override void Initialize()

protected override void LoadContent()
{
spriteBatch = new SpriteBatch(GraphicsDevice);
_spriteBatch = new SpriteBatch(GraphicsDevice);

// TODO: use this.Content to load your game content here
}
Expand Down

0 comments on commit 7c982ed

Please sign in to comment.