OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000427-1.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.