Cleanup: GLShader: Use span and default constructor instead of vector(0)
This commit is contained in:
parent
2da4e2be0a
commit
fc2ce8495e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue