Am Freitag, den 28.04.2006, 11:16 +0100 schrieb ivan danicic:

> Hello  All, I am trying to learn gtk..., so here is a really stupid question:
> Is there an equivalent of glutdisplayfunc? Is there something like a display 
> function? In my program I am trying to get it to re-display the window 
> contents. Any comments gratefully received.

As a general rule of thumb...

        on_realize() do you inital OpenGL setup and stuff
        on_configure() do you resize and glViewport()
        on_expose() do all your frame-by-frame drawing

Best regards...

MacSlow

-- 
email - [EMAIL PROTECTED]
www - http://macslow.thepimp.net
lowfat - http://macslow.thepimp.net/sponsor-it

_______________________________________________
gtkglext-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Reply via email to