[glutils] Cleanup OxError
This commit is contained in:
parent
96d27eecd1
commit
9881253f2a
2
deps/glutils/src/glutils.cpp
vendored
2
deps/glutils/src/glutils.cpp
vendored
@ -83,7 +83,7 @@ static ox::Result<GLShader> buildShader(
|
||||
ox::Vector<char> errMsg(ox::units::KB);
|
||||
glGetShaderInfoLog(shader, static_cast<GLsizei>(errMsg.size()), nullptr, errMsg.data());
|
||||
oxErrorf("shader compile error in {}: {}", shaderName, errMsg.data());
|
||||
return OxError(1, "shader compile error");
|
||||
return ox::Error(1, "shader compile error");
|
||||
}
|
||||
return shader;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user