[SDL] porting to windows
Sam Lantinga
slouken at devolution.com
Wed Apr 7 14:38:29 PDT 1999
> my project, developed under Linux runs fine under XWindows, mitshm and pthreads,
> however the port to windows using xmingw32 silently fails when it starts to blit
> surfaces in a seperate thread.
> no error message, nothing printed to stderr.txt, it just
> returns to windows.
It sounds like a segmentation fault. Are you running fullscreen?
If so, you might not be taking into account the pitch of the surface you
are blitting, if you are doing the blitting yourself. Try sprinkling
print statements around to see exactly what is happening.
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software
--
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/
--
More information about the SDL
mailing list