Re: GtkGLArea broken by backing store



Janne Lof <jlof@mail.student.oulu.fi> writes:

> Hi,
> 
> Addition of backing store to gtk+-1.3.x has broken gtkglarea
> widget. OpenGL commands draw to gl widget correctly, but immediatedly
> after the drawing is finished everything is covered with background
> color. If I comment out #define USE_BACKING_STORE line in gdk/gdkwindow.c
> then everything works fine.
> 
> Is there any way to disable backing store of a widget or otherwise get
> around this problem?

I just checked in a patch to make it possible to turn off backing store
on individual widgets.

Do:

 gtk_widget_set_double_buffered (widget, FALSE);

Regards,
                                        Owen





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