MCPcopy Create free account
hub / github.com/DentonW/DevIL / iBindImageTemp

Function iBindImageTemp

DevIL/src-IL/src/il_stack.cpp:693–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691
692
693ILAPI void ILAPIENTRY iBindImageTemp()
694{
695 if (ImageStack == NULL || StackSize <= 1)
696 if (!iEnlargeStack())
697 return;
698
699 if (LastUsed < 2)
700 LastUsed = 2;
701 CurName = 1;
702 ParentImage = IL_TRUE;
703 if (!ImageStack[1])
704 ImageStack[1] = ilNewImage(1, 1, 1, 1, 1);
705 iCurImage = ImageStack[1];
706
707 return;
708}

Calls 1

iEnlargeStackFunction · 0.85

Tested by

no test coverage detected