diff --git a/deps/glutils/src/glutils.cpp b/deps/glutils/src/glutils.cpp index 49262da2..b705e603 100644 --- a/deps/glutils/src/glutils.cpp +++ b/deps/glutils/src/glutils.cpp @@ -89,7 +89,7 @@ static ox::Result buildShader( } ox::Result buildShaderProgram(ProgramSource const&src) noexcept { - oxRequireM(program, buildShaderProgram( + OX_REQUIRE_M(program, buildShaderProgram( src.vertShader, src.fragShader, src.geomShader)); @@ -127,13 +127,13 @@ ox::Result buildShaderProgram( ox::CStringView const&frag, ox::CStringView const&geo) noexcept { GLProgram prgm(glCreateProgram()); - oxRequire(vs, buildShader(GL_VERTEX_SHADER, vert.c_str(), "vshad")); + OX_REQUIRE(vs, buildShader(GL_VERTEX_SHADER, vert.c_str(), "vshad")); glAttachShader(prgm, vs); if (geo.c_str() && geo.bytes() != 0) { - oxRequire(gs, buildShader(GL_GEOMETRY_SHADER, geo.c_str(), "gshad")); + OX_REQUIRE(gs, buildShader(GL_GEOMETRY_SHADER, geo.c_str(), "gshad")); glAttachShader(prgm, gs); } - oxRequire(fs, buildShader(GL_FRAGMENT_SHADER, frag.c_str(), "fshad")); + OX_REQUIRE(fs, buildShader(GL_FRAGMENT_SHADER, frag.c_str(), "fshad")); glAttachShader(prgm, fs); glLinkProgram(prgm); return prgm;