| 56 | |
| 57 | |
| 58 | void 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 | } |
nothing calls this directly
no test coverage detected