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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000427-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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