DevIL Documentation Home | Previous | Next

ilShutDown

The ilShutDown function releases any memory DevIL uses.


ILvoid ilShutDown(
  ILvoid
);

Parameters

None

Remarks

ilShutDown effectively shuts DevIL down, releasing any memory used. You must call ilShutDown after ilInit. Calling ilShutDown is not required, since it is put on the atexit stack by ilInit. You may wish to use ilShutDown if you are using your own memory manager, though.

Error Codes

IL_ILLEGAL_OPERATION - ilShutDown was called before ilInit.

See Also

ilInit