diff --git a/Source.SDLManager/SDL3_LauncherManager.cs b/Source.SDLManager/SDL3_LauncherManager.cs index 01653669..42f682c0 100644 --- a/Source.SDLManager/SDL3_LauncherManager.cs +++ b/Source.SDLManager/SDL3_LauncherManager.cs @@ -61,7 +61,7 @@ internal static unsafe void InitializeIfRequired() { SDL3.SDL_SetLogPriorities(SDL_LogPriority.SDL_LOG_PRIORITY_TRACE); SDL3.SDL_SetAppMetadata(Path.GetFileNameWithoutExtension(Environment.ProcessPath), "N/A", "N/A"); if (!SDL3.SDL_InitSubSystem(SDL_InitFlags.SDL_INIT_VIDEO)) - throw new Exception("Couldn't initialize SDL3's video subsystem."); + throw new Exception($"Couldn't initialize SDL3's video subsystem: ${SDL3.SDL_GetError()}"); ready = true; }