Beispiel #1
0
	bool Image::loadVolatile()
	{
		if (hasNpot())
			return loadVolatileNPOT();
		else
			return loadVolatilePOT();
	}
Beispiel #2
0
bool Image::loadVolatile()
{
	if (hasMipmapSharpnessSupport())
		glGetFloatv(GL_MAX_TEXTURE_LOD_BIAS, &maxmipmapsharpness);

	if (hasNpot())
		return loadVolatileNPOT();
	else
		return loadVolatilePOT();
}