MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY iluLoadImage

Function ILAPIENTRY iluLoadImage

DevIL/src-ILU/src/ilu_main.cpp:59–70  ·  view source on GitHub ↗

ifndef _WIN32_WCE

Source from the content-addressed store, hash-verified

57
58//#ifndef _WIN32_WCE
59ILuint ILAPIENTRY iluLoadImage(ILconst_string FileName)
60{
61 ILuint Id;
62 ilGenImages(1, &Id);
63 if (Id == 0)
64 return 0;
65 if (!ilLoadImage(FileName)) {
66 ilDeleteImages(1, &Id);
67 return 0;
68 }
69 return Id;
70}
71//#endif//_WIN32_WCE

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected