OpenGL drawing to widget actually draws in the whole window



Hi,

I'm new to all of this, so maybe I'm doing something wrong. If I perfrom OpenGL drawing to a gl-capable widget, all of the drawing happens on the main window, replacing all the other widgets etc. It is as if the widget I'm drawing to was the window it self. Pixbuf drawin also behaves similary. Oddly enough this only happens using GTK+ 2.20 libraries but not GTK+ 2.16. I'm not sure if this is GTK-related or gtkglext-related, or even a known bug.

Could someone please shed some light on this?

Thank you.

solarstandard


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