You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently evaluating your drawing engine for a work project. One of my requirements is to be able to open/close multiple windows. Looking at the implementation this looks fairly trivial, but I don't have a very full understanding of the entire engine. Let me know what you think!
Robert
The text was updated successfully, but these errors were encountered:
Multiple windows are currently not supported. You're right, it wouldn't be very difficult to add support for that, but it would take some work, since quite a few things rely on there being a single window.
Unfortunately I don't have time to take a look at this anytime soon, but feel free to see what you can do.
@rcurtis U'll store a map/array of windows, but each will need their own context. You'll need render commands to know which context they belong to. It gets quite complicated to implement, and even more time consuming if you need multi-platform support.
@Mebourner I believe you can use the same context and just make it current on each window... similar to how SFML does it. So yes, you will need a list or the windows. You iterate over them calling some MakeCurrent type function and then execute your drawing. That doesn't sound very complicated.
I am currently evaluating your drawing engine for a work project. One of my requirements is to be able to open/close multiple windows. Looking at the implementation this looks fairly trivial, but I don't have a very full understanding of the entire engine. Let me know what you think!
Robert
The text was updated successfully, but these errors were encountered: