We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4930281 commit 8d8224eCopy full SHA for 8d8224e
articles/tutorials/building_2d_games/06_content_pipeline/snippets/game1.cs
@@ -20,7 +20,7 @@ public Game1()
20
IsMouseVisible = true;
21
22
// Create a new FramesPerSecondCounter.
23
- FramesPerSecondCounter fpsCounter = new FramesPerSecondCounter();
+ FramesPerSecondCounter fpsCounter = new FramesPerSecondCounter(this);
24
25
// Add it to the game's component collection
26
Components.Add(fpsCounter);
0 commit comments