Chromium Code Reviews| 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 9ce5953ba83205289a5de54e384470829dc8d8b8..6bc4a82eaf211b9b3b168e3fe72d05eddc38db2a 100644 |
| --- a/gpu/command_buffer/service/context_state_impl_autogen.h |
| +++ b/gpu/command_buffer/service/context_state_impl_autogen.h |
| @@ -301,7 +301,7 @@ void ContextState::InitState(const ContextState* prev_state) const { |
| } |
| } |
| if ((line_width != prev_state->line_width)) |
| - glLineWidth(line_width); |
| + DoLineWidth(line_width); |
|
piman
2016/11/07 22:34:40
The approach is reasonable, but this file is autog
Lof
2016/11/08 20:11:58
Done.
|
| if (feature_info_->feature_flags().chromium_path_rendering) { |
| if (memcmp(prev_state->modelview_matrix, modelview_matrix, |
| sizeof(GLfloat) * 16)) { |
| @@ -394,7 +394,7 @@ void ContextState::InitState(const ContextState* prev_state) const { |
| glHint(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES, |
| hint_fragment_shader_derivative); |
| } |
| - glLineWidth(line_width); |
| + DoLineWidth(line_width); |
| if (feature_info_->feature_flags().chromium_path_rendering) { |
| glMatrixLoadfEXT(GL_PATH_MODELVIEW_CHROMIUM, modelview_matrix); |
| } |