Changeset 27396 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texture.c
- Timestamp:
- Mar 16, 2010 12:43:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texture.c
r25154 r27396 382 382 case GL_RGBA: 383 383 case GL_COMPRESSED_RGBA_ARB: 384 #ifdef CR_EXT_texture_sRGB 385 case GL_SRGB_ALPHA_EXT: 386 case GL_SRGB8_ALPHA8_EXT: 387 case GL_COMPRESSED_SRGB_ALPHA_EXT: 388 #endif 384 389 tl->texFormat = &_texformat_rgba8888; 385 390 break; … … 388 393 case GL_RGB: 389 394 case GL_COMPRESSED_RGB_ARB: 395 #ifdef CR_EXT_texture_sRGB 396 case GL_SRGB_EXT: 397 case GL_SRGB8_EXT: 398 case GL_COMPRESSED_SRGB_EXT: 399 #endif 390 400 tl->texFormat = &_texformat_rgb888; 391 401 break; … … 429 439 case GL_LUMINANCE16: 430 440 case GL_COMPRESSED_LUMINANCE_ARB: 441 #ifdef CR_EXT_texture_sRGB 442 case GL_SLUMINANCE_EXT: 443 case GL_SLUMINANCE8_EXT: 444 case GL_COMPRESSED_SLUMINANCE_EXT: 445 #endif 431 446 tl->texFormat = &_texformat_l8; 432 447 break; … … 441 456 case GL_LUMINANCE16_ALPHA16: 442 457 case GL_COMPRESSED_LUMINANCE_ALPHA_ARB: 458 #ifdef CR_EXT_texture_sRGB 459 case GL_SLUMINANCE_ALPHA_EXT: 460 case GL_SLUMINANCE8_ALPHA8_EXT: 461 case GL_COMPRESSED_SLUMINANCE_ALPHA_EXT: 462 #endif 443 463 tl->texFormat = &_texformat_al88; 444 464 break;
Note:
See TracChangeset
for help on using the changeset viewer.