用此函数来决定表面是否需要锁定才可以访问。
例子:
// // 锁住表面 // if (SDL_MUSTLOCK(gpScreenReal)) { if (SDL_LockSurface(gpScreenReal) < 0) return; }