Skip to content

Commit 8d8224e

Browse files
committed
Fix snippet
1 parent 4930281 commit 8d8224e

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/06_content_pipeline/snippets

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/06_content_pipeline/snippets/game1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public Game1()
2020
IsMouseVisible = true;
2121

2222
// Create a new FramesPerSecondCounter.
23-
FramesPerSecondCounter fpsCounter = new FramesPerSecondCounter();
23+
FramesPerSecondCounter fpsCounter = new FramesPerSecondCounter(this);
2424

2525
// Add it to the game's component collection
2626
Components.Add(fpsCounter);

0 commit comments

Comments
 (0)