| Index: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureETC1.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureETC1.cpp b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureETC1.cpp
|
| index 9b708b754d04cfafa11f57e669a21f3cb4f14600..f12d9ae9a5521842992d7d302b2acfba7a2daa8f 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureETC1.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureETC1.cpp
|
| @@ -25,12 +25,8 @@ WebGLCompressedTextureETC1* WebGLCompressedTextureETC1::create(
|
|
|
| bool WebGLCompressedTextureETC1::supported(WebGLRenderingContextBase* context) {
|
| Extensions3DUtil* extensionsUtil = context->extensionsUtil();
|
| - bool webgl1 = !context->isWebGL2OrHigher();
|
| - bool etc1 =
|
| - extensionsUtil->supportsExtension("GL_OES_compressed_ETC1_RGB8_texture");
|
| - bool etc =
|
| - extensionsUtil->supportsExtension("GL_CHROMIUM_compressed_texture_etc");
|
| - return (webgl1 || etc) && etc1;
|
| + return extensionsUtil->supportsExtension(
|
| + "GL_OES_compressed_ETC1_RGB8_texture");
|
| }
|
|
|
| const char* WebGLCompressedTextureETC1::extensionName() {
|
|
|