| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| index f6091bd592c5d17320fd11b378c4081d591c0900..382052fb74b3c844f14d0e0e58a1503f71f1991e 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
|
| @@ -1059,7 +1059,7 @@ WebGLRenderingContextBase::WebGLRenderingContextBase(
|
| is_oes_texture_float_formats_types_added_(false),
|
| is_oes_texture_half_float_formats_types_added_(false),
|
| is_web_gl_depth_texture_formats_types_added_(false),
|
| - is_ex_ts_rgb_formats_types_added_(false),
|
| + is_ext_srgb_formats_types_added_(false),
|
| version_(version) {
|
| ASSERT(context_provider);
|
|
|
| @@ -1253,7 +1253,7 @@ void WebGLRenderingContextBase::InitializeNewContext() {
|
| is_oes_texture_float_formats_types_added_ = false;
|
| is_oes_texture_half_float_formats_types_added_ = false;
|
| is_web_gl_depth_texture_formats_types_added_ = false;
|
| - is_ex_ts_rgb_formats_types_added_ = false;
|
| + is_ext_srgb_formats_types_added_ = false;
|
|
|
| supported_internal_formats_.clear();
|
| ADD_VALUES_TO_SET(supported_internal_formats_, kSupportedFormatsES2);
|
| @@ -6639,7 +6639,7 @@ void WebGLRenderingContextBase::AddExtensionSupportedFormatsTypes() {
|
| is_web_gl_depth_texture_formats_types_added_ = true;
|
| }
|
|
|
| - if (!is_ex_ts_rgb_formats_types_added_ && ExtensionEnabled(kEXTsRGBName)) {
|
| + if (!is_ext_srgb_formats_types_added_ && ExtensionEnabled(kEXTsRGBName)) {
|
| ADD_VALUES_TO_SET(supported_internal_formats_,
|
| kSupportedInternalFormatsEXTsRGB);
|
| ADD_VALUES_TO_SET(supported_tex_image_source_internal_formats_,
|
| @@ -6647,7 +6647,7 @@ void WebGLRenderingContextBase::AddExtensionSupportedFormatsTypes() {
|
| ADD_VALUES_TO_SET(supported_formats_, kSupportedFormatsEXTsRGB);
|
| ADD_VALUES_TO_SET(supported_tex_image_source_formats_,
|
| kSupportedFormatsEXTsRGB);
|
| - is_ex_ts_rgb_formats_types_added_ = true;
|
| + is_ext_srgb_formats_types_added_ = true;
|
| }
|
| }
|
|
|
|
|