OpenGL and GtkDrawingArea



Hi,
how can I to enable OpenGL on a GtkDrawingArea (GTK+ 3.0)?
I attempted to enable it in realize signal, but the gtk_widget_get_window
(widget) returns NULL.
In draw signal X11 returns BadMatch instead.

Thanks.



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