This commit is contained in:
ZY4N
2025-03-23 21:11:22 +01:00
parent 510398423a
commit c609d49f0d
49 changed files with 1412 additions and 924 deletions

View File

@@ -68,6 +68,11 @@ struct category : std::error_category
return { static_cast<int>(e), error_category() };
}
[[nodiscard]] inline std::error_code get_error()
{
return make_error_code(glGetError());
}
} // namespace zgl
template<>