diff --git a/deps/glutils/src/glutils.cpp b/deps/glutils/src/glutils.cpp index c02f9f7e..49262da2 100644 --- a/deps/glutils/src/glutils.cpp +++ b/deps/glutils/src/glutils.cpp @@ -83,7 +83,7 @@ static ox::Result buildShader( ox::Vector errMsg(ox::units::KB); glGetShaderInfoLog(shader, static_cast(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; }