Unlock an offscreen context
int PdUnlockOffscreen( PdOffscreenContext_t *osc );
- A pointer to the offscreen context, as returned by PdCreateOffscreenContext(), that you want to unlock.
- The offscreen context was successfully unlocked.
- The context wasn't locked to begin with (i.e. the semaphore count wasn't increased).
- The lock is invalid.
- The context wasn't locked.
“Offscreen locks” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide