- Timestamp:
- Feb 1, 2013, 10:21:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gpu/texture.cpp
r2312 r2313 135 135 { GL_LUMINANCE8, GL_LUMINANCE, GL_UNSIGNED_BYTE, 1 }, 136 136 #elif defined __native_client__ || defined HAVE_GLES_2X 137 { GL_RGBA 8, GL_RGBA, GL_UNSIGNED_BYTE, 4 },137 { GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, 4 }, 138 138 /* FIXME: if GL_RGBA is not available, we should advertise 139 139 * this format as "not available" on this platform. */ 140 { GL_RGBA 8, GL_RGBA, GL_UNSIGNED_BYTE, 4 },141 { GL_ R8, GL_R8, GL_UNSIGNED_BYTE, 1 },140 { GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, 4 }, 141 { GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE, 1 }, 142 142 #else 143 143 /* Seems efficient for little endian textures */
Note: See TracChangeset
for help on using the changeset viewer.