[Previous] [Contents] [Index] [Next]

PhDCRelease()

Release a draw context

Synopsis:

int PhDCRelease( PhDrawContext_t *dc );

Library:

ph

Description:

This function releases the provided DC (the default Photon draw context can not be released). The context is notified of its pending demise before it's destroyed, so that it can do any necessary cleanup.

Returns:

0
Success.
-1
An error occurred (most likely you're trying to release the Photon default DC).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhDCCreate(), PhDCGetCurrent(), PhDCSetCurrent()


[Previous] [Contents] [Index] [Next]