Index: gpu/command_buffer/service/context_state.cc |
diff --git a/gpu/command_buffer/service/context_state.cc b/gpu/command_buffer/service/context_state.cc |
index 069d136469c6cea7d0641db42a8befc2433f27ce..09f2e1d365a2b199dbb0f56c64827bee64ab37d1 100644 |
--- a/gpu/command_buffer/service/context_state.cc |
+++ b/gpu/command_buffer/service/context_state.cc |
@@ -39,8 +39,6 @@ ContextState::ContextState(FeatureInfo* feature_info, Logger* logger) |
: pack_alignment(4), |
unpack_alignment(4), |
active_texture_unit(0), |
- hint_generate_mipmap(GL_DONT_CARE), |
- hint_fragment_shader_derivative(GL_DONT_CARE), |
pack_reverse_row_order(false), |
fbo_binding_for_scissor_workaround_dirty_(false), |
feature_info_(feature_info), |
@@ -141,10 +139,6 @@ void ContextState::RestoreGlobalState() const { |
glPixelStorei(GL_PACK_ALIGNMENT, pack_alignment); |
glPixelStorei(GL_UNPACK_ALIGNMENT, unpack_alignment); |
- |
- glHint(GL_GENERATE_MIPMAP_HINT, hint_generate_mipmap); |
- // TODO: If OES_standard_derivatives is available |
- // restore GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES |
} |
void ContextState::RestoreState() const { |