mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 03:05:36 +00:00
Ensure UnsupportedPlatform is used for Factory.Embedded if OpenGL|ES is not supported.
This commit is contained in:
parent
3462e80978
commit
6336246f57
|
@ -57,6 +57,7 @@ namespace OpenTK.Platform
|
|||
else if (Configuration.RunningOnMacOS) Embedded = new Egl.EglMacPlatformFactory();
|
||||
else Embedded = new UnsupportedPlatform();
|
||||
}
|
||||
else Embedded = new UnsupportedPlatform();
|
||||
|
||||
if (Default is UnsupportedPlatform && !(Embedded is UnsupportedPlatform))
|
||||
Default = Embedded;
|
||||
|
|
Loading…
Reference in a new issue