Ensure UnsupportedPlatform is used for Factory.Embedded if OpenGL|ES is not supported.
This commit is contained in:
parent
0e02f67749
commit
84a42514e8
1 changed files with 1 additions and 0 deletions
|
@ -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