No separate Factory.Embedded for SDL2
authorStefanos A <stapostol@gmail.com>
Fri, 4 Oct 2013 07:57:43 +0000 (09:57 +0200)
committerStefanos A <stapostol@gmail.com>
Fri, 4 Oct 2013 07:57:43 +0000 (09:57 +0200)
Sdl2Factory supports both desktop and embedded profiles, there is no
need to construct a separate Embedded profile.

Source/OpenTK/Platform/Factory.cs

index ff0414b08775feb440af3dc43a63dd602a1094a7..5eca793a8d5be7838d68bfc05fb0bfcbadd01617 100644 (file)
@@ -55,7 +55,7 @@ namespace OpenTK.Platform
 
             if (Configuration.Sdl2Supported)
             {
-                Embedded = new Egl.EglSdl2PlatformFactory();
+                Embedded = Default;
             }
             else if (Egl.Egl.IsSupported)
             {