Closes Palette and frees all memory associated with it.
| 282 | |
| 283 | //! Closes Palette and frees all memory associated with it. |
| 284 | ILAPI void ILAPIENTRY ilClosePal(ILpal *Palette) |
| 285 | { |
| 286 | if (Palette == NULL) |
| 287 | return; |
| 288 | if (!ilIsValidPal(Palette)) |
| 289 | return; |
| 290 | ifree(Palette->Palette); |
| 291 | ifree(Palette); |
| 292 | return; |
| 293 | } |
| 294 | |
| 295 | |
| 296 | ILimage *iGetBaseImage() |
no test coverage detected