diff options
-rw-r--r-- | source/blender/gpu/intern/gpu_shader.cc | 2 | ||||
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.cc b/source/blender/gpu/intern/gpu_shader.cc index 4e74e1f69e7..536396ad3c6 100644 --- a/source/blender/gpu/intern/gpu_shader.cc +++ b/source/blender/gpu/intern/gpu_shader.cc @@ -95,7 +95,7 @@ void Shader::print_errors(Span<const char *> sources, char *log) error_char = (int)strtol(error_line_number_end + 1, NULL, 10); } } - if ((error_line == -1)) { + if (error_line == -1) { found_line_id = false; } const char *src_line = sources_combined; diff --git a/source/blender/gpu/opengl/gl_shader.hh b/source/blender/gpu/opengl/gl_shader.hh index 0e37ea18d23..b432a04abaa 100644 --- a/source/blender/gpu/opengl/gl_shader.hh +++ b/source/blender/gpu/opengl/gl_shader.hh @@ -57,7 +57,7 @@ class GLShader : public Shader { bool finalize(void) override; void transform_feedback_names_set(Span<const char *> name_list, - const eGPUShaderTFBType geom_type); + const eGPUShaderTFBType geom_type) override; bool transform_feedback_enable(GPUVertBuf *buf) override; void transform_feedback_disable(void) override; |