Changeset 233 for trunk/src/gl/gl_enum.cc
- Timestamp:
- 05/12/14 16:49:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_enum.cc
r121 r233 33 33 } 34 34 } 35 36 unsigned int nv::polygon_mode_fill_to_enum( polygon_mode::fill_type type ) 37 { 38 switch( type ) 39 { 40 case polygon_mode::FILL : return GL_FILL; 41 case polygon_mode::LINE : return GL_LINE; 42 case polygon_mode::POINT : return GL_POINT; 43 NV_RETURN_COVERED_DEFAULT( 0 ); 44 } 45 } 46 47 35 48 36 49 unsigned int nv::blending_factor_to_enum( blending::factor type )
Note: See TracChangeset
for help on using the changeset viewer.