ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

fi_type Union Reference

#include <imports.h>

Data Fields

GLfloat f
GLint i

Detailed Description

Sometimes we treat GLfloats as GLints. On x86 systems, moving a float as a int (thereby using integer registers instead of FP registers) is a performance win. Typically, this can be done with ordinary casts. But with gcc's -fstrict-aliasing flag (which defaults to on in gcc 3.0) these casts generate warnings. The following union typedef is used to solve that.

Definition at line 122 of file imports.h.


The documentation for this union was generated from the following file:

Generated on Sun May 27 2012 06:20:09 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.