The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL Bug (?): OS X, SDL_INIT_EVENTTHREAD and SDL_Delay
Ryan C. Gordon
Guest

Quote:
int main(int argc, char *argv[])
{
SDL_Init(SDL_INIT_EVERYTHING|SDL_INIT_EVENTTHREAD);

SDL_SetVideoMode(640, 480, 0, 0);

SDL_Delay(1000);
SDL_Quit();
return(0);
}

I'm pretty sure EVENTTHREAD doesn't work on Mac OS X (and probably
shouldn't be used anywhere...maybe we should deprecate that...)

--ryan.
SDL Bug (?): OS X, SDL_INIT_EVENTTHREAD and SDL_Delay
Ryan C. Gordon
Guest

Quote:
I'm pretty sure EVENTTHREAD doesn't work on Mac OS X (and probably
shouldn't be used anywhere...maybe we should deprecate that...)

Latest in CVS doesn't crash anymore, but EVENTTHREAD still won't work.

--ryan.