gtk_widget_get_snapshot & openGL




Hi,

I'm trying to use this "gtk_widget_get_snapshot" on a openGL widget, without success. I only get a black snapshot. I've tried to use both gtkglarea and gtkglext, single and double buffered, and still get a black snapshot. If I get a snapshot of the main widget of the application, I get a nice snapshot with menus, etc.., but without openGL widget area.

Any ideas ?

Regards,
Benoît.





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