On Fri, 2008-07-18 at 12:00 +0000, Michael Trimarchi wrote: > I try to write an sdl widget using the code from an old project. > The problem is in the expose event when I do the SDL_GL_SwapBuffers. > I don't know why at the end the gtk restore the background color.
you will need to disable double buffering on the widget, and let GL do it for you. ciao, Emmanuele. -- Emmanuele Bassi, W: http://www.emmanuelebassi.net B: http://log.emmanuelebassi.net _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list