Re: [GtkGLExt] gtkglext cannot draw geometries (jiangtengfei)




    Hi,
You need to tell GTK that the draw rectangle is 'dirty' (has been updated) after your "gdk_gl_drawable_gl_end (gldrawable)" with this function call:

gdk_window_invalidate_rect (gtk_widget_get_parent_window (widget), &widget->allocation, TRUE);


Regards,
            Jose.


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