Beginning Game Programming in C++
lazyfoo.net
lazyfoo.net
It's mostly C, but he does use the C++ compiler.
> You should not be trying to use multithreaded optimization. Play with fire and you will get burned.
That's some poor encouragement there. They should be teaching how to do multithreading properly instead, or referring to such resources. May be using languages like Rust where multithreading is more sane will encourage using it more.
It's now integrated with Vulkan as well: http://www.glfw.org/docs/3.2/vulkan.html
[1]: http://stackoverflow.com/questions/7106586/keep-window-activ... [2]: https://wiki.libsdl.org/SDL_SetEventFilter
.. 20 years ago :(