Replaced exception with runtime_error

This commit is contained in:
Robert 2021-01-21 15:48:31 +01:00
parent a9bbbbb7a3
commit aef5818474
5 changed files with 18 additions and 7 deletions

View file

@ -9,7 +9,7 @@ namespace oglu
{
if (!gladLoadGLLoader(proc))
{
throw std::exception("Failed to initialize GLAD");
throw std::runtime_error("Failed to initialize GLAD");
}
}