giawa / opengl4csharp

OpenGL 4 Bindings (partially based on OpenTK) for C#
Other
232 stars 61 forks source link

Create More than one screen #32

Closed RinzuTheCoder closed 4 years ago

RinzuTheCoder commented 4 years ago

It seems Glut and Platform can only create one instance of a window because they are singletons. Is there anyway to instantiate more than one window?

giawa commented 4 years ago

Right now Platform only supports a single window. However, Platform uses SDL2, which does have support for opening multiple windows. You would need to call the SDL2 methods yourself to accomplish this (or modify the existing Platform code).