I took back to working on my old game engine a bit and ran into this nasty issue where OpenGL will refuse calls that don’t come from the one chosen thread.
It took me quite a lot of trickery with lambdas, template shenanigans, futures and what have you but I managed to sort it out. Want to know how I did it and how you could also adapt this solution to other problems?
Of course you do!