1
Window / Events and threads
« on: February 07, 2012, 06:27:18 pm »
I'm trying to handle events in a thread.
That seems not to work, "PollEvent" never returns true and "WaitEvent" never returns at all.
Is sf::Window thread-safe?
Can I call "Display" in the main thread and "PollEvent / WaitEvent" in a different thread?
Thanks
That seems not to work, "PollEvent" never returns true and "WaitEvent" never returns at all.
Is sf::Window thread-safe?
Can I call "Display" in the main thread and "PollEvent / WaitEvent" in a different thread?
Thanks