diff options
Diffstat (limited to 'src/SMAPI/Framework/SGame.cs')
-rw-r--r-- | src/SMAPI/Framework/SGame.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs index 4d310185..4dd73485 100644 --- a/src/SMAPI/Framework/SGame.cs +++ b/src/SMAPI/Framework/SGame.cs @@ -197,8 +197,12 @@ namespace StardewModdingAPI.Framework /// <summary>Load content when the game is launched.</summary> protected override void LoadContent() { + // load content base.LoadContent(); Game1.mapDisplayDevice = new SDisplayDevice(Game1.content, this.GraphicsDevice); + + // log GPU info + this.Monitor.Log($"Running on GPU: {this.GraphicsDevice?.Adapter?.Description ?? "<unknown>"}"); } /// <summary>Initialize just before the game's first update tick.</summary> |