diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_etc.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_etc.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_etc.cc b/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_etc.cc index 444834b91c6..5f30971ef34 100644 --- a/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_etc.cc +++ b/chromium/third_party/blink/renderer/modules/webgl/webgl_compressed_texture_etc.cc @@ -12,7 +12,7 @@ WebGLCompressedTextureETC::WebGLCompressedTextureETC( WebGLRenderingContextBase* context) : WebGLExtension(context) { context->ExtensionsUtil()->EnsureExtensionEnabled( - "GL_CHROMIUM_compressed_texture_etc"); + "GL_ANGLE_compressed_texture_etc"); context->AddCompressedTextureFormat(GL_COMPRESSED_R11_EAC); context->AddCompressedTextureFormat(GL_COMPRESSED_SIGNED_R11_EAC); context->AddCompressedTextureFormat(GL_COMPRESSED_RGB8_ETC2); @@ -38,8 +38,7 @@ WebGLCompressedTextureETC* WebGLCompressedTextureETC::Create( bool WebGLCompressedTextureETC::Supported(WebGLRenderingContextBase* context) { Extensions3DUtil* extensions_util = context->ExtensionsUtil(); - return extensions_util->SupportsExtension( - "GL_CHROMIUM_compressed_texture_etc"); + return extensions_util->SupportsExtension("GL_ANGLE_compressed_texture_etc"); } const char* WebGLCompressedTextureETC::ExtensionName() { |