[OpenTK] Re-add static Factory constructor

There are static methods that rely on `OpenTK.Platform.Factory` having
a static constructor. We need to fix those first, before we can remove
this constructor.
This commit is contained in:
thefiddler 2014-07-23 09:03:18 +02:00
parent 9d6b6891e6
commit 7cc3e922ee

View file

@ -46,6 +46,11 @@ namespace OpenTK.Platform
#region Constructors
static Factory()
{
Toolkit.Init();
}
public Factory()
{
// Ensure we are correctly initialized.