Index: gpu/command_buffer/service/context_state_impl_autogen.h |
diff --git a/gpu/command_buffer/service/context_state_impl_autogen.h b/gpu/command_buffer/service/context_state_impl_autogen.h |
index ed9350d4e8c75f113edf13d09cb41175fbbe6e0a..c33cb7fb11379d564e8979422df0dd38e2c728b2 100644 |
--- a/gpu/command_buffer/service/context_state_impl_autogen.h |
+++ b/gpu/command_buffer/service/context_state_impl_autogen.h |
@@ -78,7 +78,7 @@ void ContextState::Initialize() { |
viewport_height = 1; |
} |
-void ContextState::InitCapabilities() { |
+void ContextState::InitCapabilities() const { |
EnableDisable(GL_BLEND, enable_flags.blend); |
EnableDisable(GL_CULL_FACE, enable_flags.cull_face); |
EnableDisable(GL_DEPTH_TEST, enable_flags.depth_test); |
@@ -91,7 +91,7 @@ void ContextState::InitCapabilities() { |
EnableDisable(GL_STENCIL_TEST, enable_flags.stencil_test); |
} |
-void ContextState::InitState() { |
+void ContextState::InitState() const { |
glBlendColor( |
blend_color_red, blend_color_green, blend_color_blue, blend_color_alpha); |
glBlendEquationSeparate(blend_equation_rgb, blend_equation_alpha); |