rt_gccstream/gcc/testsuite/gcc.c-torture/compile/20000427-1.c

10 lines
537 B
C

int lwidth;
int lheight;
void ConvertFor3dDriver (int requirePO2, int maxAspect)
{
int oldw = lwidth, oldh = lheight;
lheight = FindNearestPowerOf2 (lheight);
while (lwidth/lheight > maxAspect) lheight += lheight;
}