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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20000427-1.c] - Blame information for rev 301

Go to most recent revision | 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.