Cleanup: GLShader: Use span and default constructor instead of vector(0)

This commit is contained in:
Clément Foucault 2020-09-14 19:56:08 +02:00
parent 2da4e2be0a
commit fc2ce8495e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}