OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-10-05 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20000427-1.c
1
int lwidth;
2
int lheight;
3
void ConvertFor3dDriver (int requirePO2, int maxAspect)
4
{
5
int oldw = lwidth, oldh = lheight;
6
7
lheight = FindNearestPowerOf2 (lheight);
8
while (lwidth/lheight > maxAspect) lheight += lheight;
9
}