blob: dc51419cf01284add0c341f5577d961bc8148b2f [file] [log] [blame]
int lwidth;
int lheight;
void ConvertFor3dDriver (int requirePO2, int maxAspect)
{
int oldw = lwidth, oldh = lheight;
lheight = FindNearestPowerOf2 (lheight);
while (lwidth/lheight > maxAspect) lheight += lheight;
}