Use this function to determine whether a surface must be locked for access.
SDL_bool SDL_MUSTLOCK(SDL_Surface* surface)
surface
the SDL_Surface structure to query
Returns SDL_TRUE if the surface must be locked for access, SDL_FALSE if not.
CategoryAPI, CategorySurface
[ front page | index | search | recent changes | git repo | offline html ]
All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). Wiki powered by ghwikipp.