Re: GtkGLArea broken by backing store



Thanks,

GtkGLArea works perfectly now.


On 2 Jun 2000, Owen Taylor wrote:

> 
> 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
> 
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 

-- 
Janne Löf
mail : jlof@mail.student.oulu.fi
www  : http://www.student.oulu.fi/~jlof/
gsm  : +358 (0)40 5430975






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