dfsml 2.1
Working with DSFML has been very pleasant and fairly painless so far, but now I've hit a bit of a snag.
When I call window.display in a thread I get an error "Failed to activate the windows context". I've set window inactive in the main thread and tried to pass a window to the animation thread but that's not possible, no overloads for that.
If I dont call window display in the thread the animation still works but is somewhat irregular (probably because the call to display in the main thread and the sleep in the animation thread are not coordinated).
The documentation on Drawing from Threads says "to be done later", so I guess this simply isn't implemented yet? Any work arounds?