Closed MBeijer closed 6 years ago
If we want to differentiate between SDL1 and SDL2, we could also use the macro:
// SDL2 things
// SDL1 things
https://wiki.libsdl.org/SDL_VERSION_ATLEAST https://github.com/scummvm/scummvm/blob/d3a831644c7b9a31b2b74824b7638072a6630fda/backends/platform/sdl/sdl-window.cpp#L130
That's true
Btw, this file isn't even used if you use my premake script. I've had in mind to merge the sdl-1.2 and sdl-2 code and use #ifdef's for the things that differ, but haven't gotten around to it yet. :P
This gets fixed in #17
differentiate between sdl versions used when calling this function, to avoid complaints about wrong number of arguments.