...
This commit is contained in:
@@ -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<>
|
||||
|
||||
Reference in New Issue
Block a user