SDL Wiki

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


[ edit | delete | history | feedback | raw ]

[ 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.