|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Platform-independent image representation More...
Topics | |
| Format | |
| Video image formats | |
Files | |
| file | img.h |
| Platform-independent image type. | |
Data Structures | |
| struct | kos_img_t |
| Platform-indpendent image type. More... | |
Functions | |
| void | kos_img_free (kos_img_t *img, int struct_also) |
| Free a kos_img_t object. | |
Platform-independent image representation
| void kos_img_free | ( | kos_img_t * | img, |
| int | struct_also ) |
Free a kos_img_t object.
This function frees the data in a kos_img_t object, returning any memory to the heap as appropriate. Optionally, this can also free the object itself, if required.
| img | The image object to free. |
| struct_also | Set to non-zero to free the image object itself, as well as any data contained therein. |
Referenced by load_kmg(), render_png(), and setup().