diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-14 20:56:08 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-14 21:53:34 +0300 |
commit | fc2ce8495e869e2527f9bb2e2618fa02aa67d72e (patch) | |
tree | e1840bf268c5a0feb99d5bd1c48f12618c497a1b /source/blender/gpu/opengl | |
parent | 2da4e2be0a445052e6b984e93c6d232b157d1436 (diff) |
Cleanup: GLShader: Use span and default constructor instead of vector(0)
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index efe656bb387..47bb8ed1bd7 100644 --- a/source/blender/gpu/opengl/gl_shader.cc +++ b/source/blender/gpu/opengl/gl_shader.cc @@ -185,7 +185,7 @@ bool GLShader::finalize(void) if (!status) { char log[5000]; glGetProgramInfoLog(shader_program_, sizeof(log), NULL, log); - Vector<const char *> sources(0); + Span<const char *> sources; this->print_errors(sources, log, "Linking"); return false; } |