Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenfi_type Union Reference
Detailed DescriptionSometimes 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. The documentation for this union was generated from the following file:
Generated on Sun May 27 2012 06:20:09 for ReactOS by
1.7.6.1
|
|||||||