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

Function ILAPIENTRY ilutInit

DevIL/src-ILUT/src/ilut_main.cpp:58–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58void ILAPIENTRY ilutInit()
59{
60 ilutDefaultStates(); // Set states to their defaults
61 // Can cause crashes if DevIL is not initialized yet
62
63#ifdef ILUT_USE_OPENGL
64 ilutGLInit(); // default renderer is OpenGL
65#endif
66
67#ifdef ILUT_USE_DIRECTX8
68 ilutD3D8Init();
69#endif
70
71#ifdef ILUT_USE_DIRECTX9
72 ilutD3D9Init();
73#endif
74
75 return;
76}

Callers

nothing calls this directly

Calls 4

ilutDefaultStatesFunction · 0.85
ilutGLInitFunction · 0.85
ilutD3D8InitFunction · 0.85
ilutD3D9InitFunction · 0.85

Tested by

no test coverage detected