[SDL] Well, me again having problems with the Key Events...

Brian brian.ripoff at gmail.com
Wed Jun 13 03:50:56 PDT 2007


Well, most of the image blitting functions aren't thread safe either
(unless you are only doing work in-memory and not blitting to a video
surface, in which case I *think* you should be fine). I believe SDL
doesn't support setting the video mode in a different thread than the
main() one due to certain OS limitations.

It would depend on what you are doing whether your solution is
portable and/or stable.

On 13/06/07, Manuel García Cabrera <manugarciac5 at yahoo.com.ar> wrote:
> Seems to be working now... I inverted the roles, now I check events in
> the "non-thread" and do the other things in the thread (constantly
> process and blit images). Thanks



More information about the SDL mailing list