Re: Gtk::GLArea throws "Couldn't find current GLX or EGL context.\n"' on unrealizing



Hello Daniel,

The call ordering seems to reverse when using gtkmm.
Thus gtkmm seems to do something that causes that.

Hacked up a quick demo without gtkmm here:
https://gist.github.com/gfokkema/3aa94c1fc645efad6dba488d3c2fe8f2

With the same breakpoints:
gtkglarea.c:195: gtk_gl_area_dispose
gtkglarea.c:575: gtk_gl_area_unrealize

Now gtk_gl_area_unrealize is called first and then
gtk_gl_area_dispose, which seems more logical indeed.

Regards,
Gerlof Fokkema

On Fri, Dec 6, 2019 at 9:18 PM Daniel Boles via gtkmm-list
<gtkmm-list gnome org> wrote:

If so, that needs reported on the GTK bug tracker, not the gtkmm mailing list.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]