Sign in
gnu
/
gcc.git
/
94edbc153ae4f1c1532859836e528fc480da82d6
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20000427-1.c
blob: add457ec121c23f3a42d07f490d519f2242cb590 [
file
] [
log
] [
blame
]
int
lwidth
;
int
lheight
;
int
FindNearestPowerOf2
(
int
);
void
ConvertFor3dDriver
(
int
requirePO2
,
int
maxAspect
)
{
int
oldw
=
lwidth
,
oldh
=
lheight
;
lheight
=
FindNearestPowerOf2
(
lheight
);
while
(
lwidth
/
lheight
>
maxAspect
)
lheight
+=
lheight
;
}