OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000427-1.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 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.