SDL_MUSTLOCK

Use this function to determine whether a surface must be locked for access.

Syntax

SDL_bool SDL_MUSTLOCK(SDL_Surface* surface)

Function Parameters

surface

the SDL_Surface structure to query

Return Value

Returns SDL_TRUE if the surface must be locked for access, SDL_FALSE if not.

SDL_LockSurface

CategoryAPI, CategorySurface