SDL_MUSTLOCK() is only const, not pure