sdlVersionAtleast function

bool sdlVersionAtleast(
  1. int x,
  2. int y,
  3. int z
)
const SDL_VERSION_ATLEAST = (X, Y, Z) \ (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z));

Implementation

bool sdlVersionAtleast(int x, int y, int z) {
  return SDL_COMPILEDVERSION >= sdlVersionnum(x, y, z);
}