> mg::egl_error is a convenience class. For all intents the purpose, the > exception we are throwing is a std::system_error with an egl_category.
a convenience class that could be replaced by a convenience function?
inline auto egl_error(std::string const& msg) -> std::system_error { return std::system_error(eglGetError(), egl_category(), msg); }
« Back to merge proposal
> mg::egl_error is a convenience class. For all intents the purpose, the
> exception we are throwing is a std::system_error with an egl_category.
a convenience class that could be replaced by a convenience function?
inline auto egl_error( std::string const& msg) -> std::system_error error(eglGetErr or(), egl_category(), msg);
{
return std::system_
}