Re: [GtkGLExt] Weird Bug with Gtk::GL::DrawingArea and Gtk::FileChooserDialog



Am Montag, den 05.09.2005, 14:22 +0200 schrieb Sean Farrell:
> Hello,
>         
>         first I want to apologize to send to two mailing lists,
>         simultaneously,
>         but I did not know who it concerned more. 
>         
>         I have a weird bug. I am using Gtk::GL::DrawingArea. I open a
>         FileChooserDialog and suddenly I get the error message
>         "GdkGLExt-WARNING
>         **: glXMakeCurrent() failed" and in the next invocation of the
>         exposure
>         event a segmentation fault. It happens when the drawing area is
>         redrawn
>         in a exposure event. 
>         
>         I narrowed it down on the one side that only having the
>         FileChooserDialog instantiated create the fault. 
>         On the other side it happens in the line:
>         
>         Glib::RefPtr<Gdk::GL::Window> glwindow = this->get_gl_window();
>         if (!glwindow->gl_begin(this->get_gl_context())) {
>           return false;
>         }
>         
>         I checked both Pointers they are valid; those returned by
>         get_glwindow()
>         and get_gl_context();
>         
>         What is odd, if I use other dialogs it dose not happen.
>         
>         Anyone a idea what I did wrong or how to work around the
>         problem.
>         
>         Thank you in advance,
>         
>         Sean Farrell
> 
> 
> _______________________________________________
> gtkglext-list mailing list
> gtkglext-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkglext-list
> 

Ok I forgot to state what versions I use...
Ok Gtkmm is in 2.6 and gtkglextmm is in 1.1.0 (aka 1.2)





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