Re: Problem deriving GLArea widget
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: Bill McGrory <wdmcgrory gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Problem deriving GLArea widget
- Date: Sun, 24 Apr 2016 12:42:00 +0200
You've discovered a bug in Gtk::GLArea::signal_create_context(). I've
fixed it in the git repository.
https://git.gnome.org/browse/gtkmm/commit/?id=d1ae01f3dc14dfbadb3e6288c6bdab5f4a1332b5
Kjell
Den 2016-04-22 kl. 22:01, skrev Bill McGrory:
Following up:
I got the included test program to work by making the following change
in glarea.cc
At this point, I'm not sure if this is a complete and total fix, as I
need to see if my full featured class can be used correctly.
588,592c588,590
< if(base && base->create_context) {
< Glib::RefPtr<Gdk::GLContext>
retval(Glib::wrap((*base->create_context)(gobj()),true));
< return retval;
< }
<
---
> if(base && base->create_context)
> return Glib::wrap((*base->create_context)(gobj()));
>
I'm assuming it's the take_copy argument passed to wrap?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]