| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Release resources of a graphics context
void PgDestroyGC( PhGC_t *GC );
This function releases any resources consumed by the specified graphics context. If the draw buffer for that context contains draw commands, the buffer is flushed before it's released.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PgCreateGC(), PgGetGC(), PgSetGC()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |