Open mstewartgallus opened 11 years ago
A binding to the SDL_PushEvent function is needed. In my code I plan to use the blocking function SDL_WaitEvent on the main thread, and use SDL_PushEvent to unblock the main thread so I can do rendering code, or whatever.
SDL_PushEvent
SDL_WaitEvent
Sure, I'll take a peek at this once we're compiling again
A binding to the
SDL_PushEvent
function is needed. In my code I plan to use the blocking functionSDL_WaitEvent
on the main thread, and useSDL_PushEvent
to unblock the main thread so I can do rendering code, or whatever.