mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 14:51:03 +00:00
[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:
parent
9d6b6891e6
commit
7cc3e922ee
|
@ -46,6 +46,11 @@ namespace OpenTK.Platform
|
|||
|
||||
#region Constructors
|
||||
|
||||
static Factory()
|
||||
{
|
||||
Toolkit.Init();
|
||||
}
|
||||
|
||||
public Factory()
|
||||
{
|
||||
// Ensure we are correctly initialized.
|
||||
|
|
Loading…
Reference in a new issue