[SDL] SDL_VIDEOEXPOSE problems...
Eduardo B. Fonseca
ebf-sender-5525f7 at aedsolucoes.com.br
Fri Apr 11 19:34:01 PDT 2003
BTW, I'm using XFree86 4.3
Eduardo.
On Friday 11 April 2003 22:26, Glenn Maynard wrote:
> On Fri, Apr 11, 2003 at 10:03:51PM -0300, Eduardo B. Fonseca wrote:
> > I'm having a problem with SDL_VIDEOEXPOSE. I put an SDL_EventState(
> > SDL_VIDEOEXPOSE, SDL_ENABLE) on my code, but I do not get any VIDEOEXPOSE
> > events...
> >
> > Do I need to put the SDL_EventState in any special place in the code
> > (before or after SDL_Init for example) ?
>
> Make sure you do it after initializing the video system; when that
> happens, the event system is reinitialized and the event mask is reset.
>
> I don't know why the event system is tied to the video system; I'd like
> to be able to use SDL for joystick input without using it for video
> on some archs. (Windows has some (solvable) trouble with this, but Linux
> doesn't.)
--
Eduardo B. Fonseca
ebf at aedsolucoes.com.br
23:33:20 up 4 days, 12:32, 1 user, load average: 0.35, 0.33, 0.21
More information about the SDL
mailing list