Replaced exception with runtime_error
This commit is contained in:
parent
a9bbbbb7a3
commit
aef5818474
5 changed files with 18 additions and 7 deletions
|
@ -9,7 +9,7 @@ namespace oglu
|
|||
{
|
||||
if (!gladLoadGLLoader(proc))
|
||||
{
|
||||
throw std::exception("Failed to initialize GLAD");
|
||||
throw std::runtime_error("Failed to initialize GLAD");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue