Changeset 462 for trunk/src/gl/gl_enum.cc
- Timestamp:
- 08/25/15 18:47:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_enum.cc
r461 r462 185 185 case BGRA : return GL_BGRA; 186 186 case RED : return GL_RED; 187 case DEPTH16 : return GL_DEPTH_COMPONENT; 188 case DEPTH24 : return GL_DEPTH_COMPONENT; 189 case DEPTH32 : return GL_DEPTH_COMPONENT; 187 190 NV_RETURN_COVERED_DEFAULT( 0 ); 188 191 } … … 202 205 case BGRA : return GL_RGBA8; 203 206 case RED : return 0x8040; // GL_LUMINANCE8; // TODO: change to GL_R8! 204 207 case DEPTH16 : return GL_DEPTH_COMPONENT16; 208 case DEPTH24 : return GL_DEPTH_COMPONENT24; 209 case DEPTH32: return GL_DEPTH_COMPONENT32; 205 210 NV_RETURN_COVERED_DEFAULT( 0 ); 206 211 }
Note: See TracChangeset
for help on using the changeset viewer.