| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Release a memory context
void PmMemReleaseMC( PmMemoryContext_t *mc );
This function releases the draw context, and shuts down and frees any resources created by the provided memory context.
|  | This function doesn't release the image buffer if PmMemCreateMC() didn't create it. | 
If the provided memory context is active at the time of this call, the default draw context automatically becomes the current draw context.
See PmMemCreateMC().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
"Flickerless animation" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |