Re: SDL gtk widget



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




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