Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-09-14 20:56:08 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-14 21:53:34 +0300
commitfc2ce8495e869e2527f9bb2e2618fa02aa67d72e (patch)
treee1840bf268c5a0feb99d5bd1c48f12618c497a1b /source/blender
parent2da4e2be0a445052e6b984e93c6d232b157d1436 (diff)
Cleanup: GLShader: Use span and default constructor instead of vector(0)
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/opengl/gl_shader.cc2
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;
}