| Index: gpu/blink/webgraphicscontext3d_impl.cc
|
| diff --git a/gpu/blink/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc
|
| index 4f728cfd62506d6d910476c4d1e9778255a08edf..a80a4d7b6e15cae516b91fa9459d8214389d3772 100644
|
| --- a/gpu/blink/webgraphicscontext3d_impl.cc
|
| +++ b/gpu/blink/webgraphicscontext3d_impl.cc
|
| @@ -1183,6 +1183,8 @@ void WebGraphicsContext3DImpl::ConvertAttributes(
|
| output_attribs->fail_if_major_perf_caveat =
|
| attributes.failIfMajorPerformanceCaveat;
|
| output_attribs->bind_generates_resource = false;
|
| + output_attribs->es3_context_required =
|
| + (attributes.webGL && attributes.webGLVersion == 2);
|
| }
|
|
|
| } // namespace gpu_blink
|
|
|