Print out exception from opengl version check failure

This commit is contained in:
CasualPokePlayer 2024-10-30 01:12:03 -07:00
parent 867b2384fd
commit 9f3630cbce
1 changed files with 2 additions and 1 deletions

View File

@ -32,8 +32,9 @@ namespace BizHawk.Bizware.Graphics
return PackGLVersion(major, minor) >= PackGLVersion(requestedMajor, requestedMinor);
}
}
catch
catch (Exception ex)
{
Console.Error.WriteLine($"OpenGL check for version {requestedMajor}.{requestedMinor} failed, underlying exception: {ex}");
return false;
}
}