sdlWindowposIsundefined function

bool sdlWindowposIsundefined(
  1. int x
)
const SDL_WINDOWPOS_ISUNDEFINED = (X) \ (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK);

Implementation

bool sdlWindowposIsundefined(int x) {
  return x & 0xFFFF0000 == SDL_WINDOWPOS_UNDEFINED_MASK;
}