Unlock a layer
int PgUnlockLayer( int layer );
ph
PgUnlockLayer() releases a layer from exclusive use by an application. To lock a layer, call PgLockLayer().
Other applications may not use PgSetLayerSurface() or PgSetLayerArg() on a locked surface.
Your application should unlock its layers before it exits. You can lock a layer multiple times, but need to unlock it only once.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdSetTargetDevice(), PgLockLayer(), PgSetLayerArg(), PgSetLayerSurface()
“Layers” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide