Skip to content

Commit

Permalink
MP1-5197: Load screen calibration prior loading window plugins upon s…
Browse files Browse the repository at this point in the history
…tartup
  • Loading branch information
epbk committed Feb 10, 2024
1 parent 8413a94 commit b80b061
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mediaportal/MediaPortal.Application/MediaPortal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3742,6 +3742,9 @@ protected override void InitializeDeviceObjects()
if (GlobalServiceProvider.Get<IMediaInfoService>() == null)
GlobalServiceProvider.Add<IMediaInfoService>(new MediaPortal.MediaInfoService.Database.MediaInfoService());

//Load screen calibration prior loading window plugins
GUIGraphicsContext.Load();

// Loading window plugins
Log.Info("Startup: Loading and Starting Window Plugins");
UpdateSplashScreenMessage(GUILocalizeStrings.Get(70));
Expand All @@ -3755,7 +3758,6 @@ protected override void InitializeDeviceObjects()
// Initialize window manager
UpdateSplashScreenMessage(GUILocalizeStrings.Get(71));
Log.Info("Startup: Initialize Window Manager...");
GUIGraphicsContext.Load();
GUIWindowManager.Initialize();

using (Settings xmlreader = new MPSettings())
Expand Down

0 comments on commit b80b061

Please sign in to comment.