PDA

View Full Version : Can I put a GLFW GL Context in a WPF Windows application?



hashbrown
09-22-2016, 08:47 AM
I'm using GLFW for creating a window. Is there a way to put that same GLFW GL context in a Windows WPF application or any other official Windows application?

kietpro_1990
09-22-2016, 10:19 PM
I also fail like you

hashbrown
09-23-2016, 06:45 AM
I also fail like you

Did some research and the best I've found was this link (http://www.codeproject.com/Articles/16051/Creating-an-OpenGL-view-on-a-Windows-Form). I haven't tried it yet, but apparently it shows you how to create a GL context for a Winforms application (not using GLFW). It's at least something so I might go with this. My ideal solution was to some how put the already created glfw window in a WPF or winform application, but oh well.