sdlWindowposIscentered function

bool sdlWindowposIscentered(
  1. int x
)
const SDL_WINDOWPOS_ISCENTERED = (X) \ (((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK);

Implementation

bool sdlWindowposIscentered(int x) {
  return x & 0xFFFF0000 == SDL_WINDOWPOS_CENTERED_MASK;
}