Re-enable when GLEW headers are updated.
Robert Cranston authored on 17/05/2022 22:28:04... | ... |
@@ -513,12 +513,13 @@ void GLObject::check_internal_format_(GLenum internal_format) |
513 | 513 |
case GL_COMPRESSED_SRGB_ALPHA: |
514 | 514 |
check_supported_({2, 1}, "GL_EXT_texture_sRGB"); |
515 | 515 |
return; |
516 |
- case GL_SR8_EXT: |
|
517 |
- check_supported_({}, "GL_EXT_texture_sRGB_R8"); |
|
518 |
- return; |
|
519 |
- case GL_SRG8_EXT: |
|
520 |
- check_supported_({}, "GL_EXT_texture_sRGB_RG8"); |
|
521 |
- return; |
|
516 |
+ // TODO(rcrnstn): Update GLEW headers. |
|
517 |
+ // case GL_SR8_EXT: |
|
518 |
+ // check_supported_({}, "GL_EXT_texture_sRGB_R8"); |
|
519 |
+ // return; |
|
520 |
+ // case GL_SRG8_EXT: |
|
521 |
+ // check_supported_({}, "GL_EXT_texture_sRGB_RG8"); |
|
522 |
+ // return; |
|
522 | 523 |
case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: |
523 | 524 |
case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: |
524 | 525 |
case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: |
... | ... |
@@ -831,8 +832,9 @@ std::string GLObject::str_internal_format_(GLenum internal_format) |
831 | 832 |
STR_CASE(GL_SRGB8_ALPHA8) |
832 | 833 |
STR_CASE(GL_COMPRESSED_SRGB) |
833 | 834 |
STR_CASE(GL_COMPRESSED_SRGB_ALPHA) |
834 |
- STR_CASE(GL_SR8_EXT) |
|
835 |
- STR_CASE(GL_SRG8_EXT) |
|
835 |
+ // TODO(rcrnstn): Update GLEW headers. |
|
836 |
+ // STR_CASE(GL_SR8_EXT) |
|
837 |
+ // STR_CASE(GL_SRG8_EXT) |
|
836 | 838 |
STR_CASE(GL_COMPRESSED_RGB_S3TC_DXT1_EXT) |
837 | 839 |
STR_CASE(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT) |
838 | 840 |
STR_CASE(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT) |