3 ms·
My own way of doing this: https://github.com/swarminglogic/sdl2-cross/blob/master/src/util/RAIIhelper.h https://github.com/swarminglogic/sdl2-cross/blob/master
by okamiueru 13y ago
My own way of doing this:
https://github.com/swarminglogic/sdl2-cross/blob/master/src/util/RAIIhelper.h https://github.com/swarminglogic/sdl2-cross/blob/master/src/...
https://github.com/swarminglogic/sdl2-cross/blob/master/src/util/SDL.h https://github.com/swarminglogic/sdl2-cross/blob/master/src/...
Certainly less verbose, and solves the problem quite nicely as far as I've been using it. If someone with some wisdom feel like commenting on it, I'm not averse to learning.