Embedding opengl glfw context into wxGLContext ??

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
meiry
In need of some credit
In need of some credit
Posts: 2
Joined: Wed Sep 16, 2015 8:01 pm

Embedding opengl glfw context into wxGLContext ??

Post by meiry »

Hello all
im beginner in this framework , im coming from Qt when it comes to desktop GUI .
i have question in Qt its was inpossible to Embedding glfw window into GLFrame .
who about wxWidgets? i have glfw app which i like to Embed into desktop GUI , what are my options ?
i saw this tutorial that do emmbed OpenGL window
http://www.codeproject.com/Articles/212 ... File-Conve
tomkulaga
Earned a small fee
Earned a small fee
Posts: 14
Joined: Tue Dec 30, 2014 11:43 pm

Re: Embedding opengl glfw context into wxGLContext ??

Post by tomkulaga »

A clean option would be to replace all the glfw stuff with wxGLCanvas.

Any rendering code shouldn't change, and glew (or whatever else you use) should also stay the same.

Unless you have to I wouldn't try to focus on embedding a glfw window into a wxWidgets window (nor for Qt). Both frameworks have their own opengl panels/widgets.
Post Reply