| Index: gpu/command_buffer/build_gles2_cmd_buffer.py
|
| diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| index 1a1deedf3785c56f141b835e513c0f226d8016cf..1441fa3c64de1842c132c9916b81fe8623f2ae0c 100755
|
| --- a/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| @@ -6529,14 +6529,14 @@ class GLGenerator(object):
|
| file.Write("}\n")
|
|
|
| file.Write("""
|
| -void ContextState::InitCapabilities() {
|
| +void ContextState::InitCapabilities() const {
|
| """)
|
| for capability in _CAPABILITY_FLAGS:
|
| file.Write(" EnableDisable(GL_%s, enable_flags.%s);\n" %
|
| (capability['name'].upper(), capability['name']))
|
| file.Write("""}
|
|
|
| -void ContextState::InitState() {
|
| +void ContextState::InitState() const {
|
| """)
|
|
|
| # We need to sort the keys so the expectations match
|
|
|