Re: SDL gtk widget
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: SDL gtk widget
- Date: Fri, 18 Jul 2008 16:07:29 +0100
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]