From 6336246f574e3b7cab41d4604f76a6ba5903ede7 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 14 Aug 2009 14:10:56 +0000 Subject: [PATCH] Ensure UnsupportedPlatform is used for Factory.Embedded if OpenGL|ES is not supported. --- Source/OpenTK/Platform/Factory.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/OpenTK/Platform/Factory.cs b/Source/OpenTK/Platform/Factory.cs index 9e33c3f8..d070ddb3 100644 --- a/Source/OpenTK/Platform/Factory.cs +++ b/Source/OpenTK/Platform/Factory.cs @@ -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;