| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index 8d7bfa800c34fb9c68771d6da66a4acd07b5511e..059ab5b2c2957868d2b7472fca7a6cf6507c0f98 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -3825,6 +3825,8 @@
|
| if (!draw_buffers_explicitly_enabled_)
|
| resources.MaxDrawBuffers = 1;
|
| resources.EXT_shader_texture_lod = shader_texture_lod_explicitly_enabled_;
|
| + resources.NV_draw_buffers =
|
| + draw_buffers_explicitly_enabled_ && features().nv_draw_buffers;
|
| break;
|
| case CONTEXT_TYPE_WEBGL2:
|
| shader_spec = SH_WEBGL2_SPEC;
|
| @@ -3845,6 +3847,8 @@
|
| features().ext_frag_depth ? 1 : 0;
|
| resources.EXT_shader_texture_lod =
|
| features().ext_shader_texture_lod ? 1 : 0;
|
| + resources.NV_draw_buffers =
|
| + features().nv_draw_buffers ? 1 : 0;
|
| resources.EXT_blend_func_extended =
|
| features().ext_blend_func_extended ? 1 : 0;
|
| break;
|
|
|