under ILboolean HasCubemapHardware = IL_FALSE;
ILboolean HasNonPowerOfTwoHardware = IL_FALSE;
HasCubemapHardware = IL_TRUE;
HasNonPowerOfTwoHardware = IL_TRUE;
surround the image resize block with:
if (HasNonPowerOfTwoHardware == IL_FALSE)
if (Src->Width != ilNextPower2(Src->Width) ||
Src->Height != ilNextPower2(Src->Height) ||
It is a bit more complicated due to the text with the maximum size of a texture. fixed.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.