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

Gerlof Fokkema via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAAk3=uvfY9fdt8uL9=w3Ev6jzFvk+L80=D2bo4Kto6-LtFYiUw@mail.gmail.com>
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
<[email protected]> wrote:
>
> If so, that needs reported on the GTK bug tracker, not the gtkmm mailing list.
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.