From ee4c88f6016b6bc0d72e0d459f6b918bdd7728f3 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 25 Jul 2020 15:50:36 -0400 Subject: log GPU info to simplify troubleshooting --- src/SMAPI/Framework/SGame.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/SMAPI/Framework') 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 /// Load content when the game is launched. 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 ?? ""}"); } /// Initialize just before the game's first update tick. -- cgit