Re: Getting OpenGL 4.5 working with GTKMM

2021-04-12 Thread Carlo Wood
On Mon, 12 Apr 2021 11:52:14 + JLM via gtkmm-list wrote: > Just to close the loop in case anyone else runs into this, the main > problem was that I hadn't called gtkGlArea's make_current() function. > This is necessary to make the OpenGL rendering context available for > subsequent commands.

Re: Getting OpenGL 4.5 working with GTKMM

2021-04-12 Thread JLM via gtkmm-list
Just to close the loop in case anyone else runs into this, the main problem was that I hadn't called gtkGlArea's make_current() function. This is necessary to make the OpenGL rendering context available for subsequent commands. Once I did that, both the Epoxy version number and the original glewIn

Re: Getting OpenGL 4.5 working with GTKMM

2021-04-11 Thread JLM via gtkmm-list
So I found this example: https://github.com/GNOME/gtkmm/blob/master/demos/gtk-demo/example_glarea.cc And it has #include , and I thought, "what is that?" So I found this: https://github.com/anholt/libepoxy And, gee, it just works! I'm not sure if this is enough, becase epoxy_gl_version() ret