Replaced exception with runtime_error
This commit is contained in:
parent
a9bbbbb7a3
commit
aef5818474
5 changed files with 18 additions and 7 deletions
|
@ -69,7 +69,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
shader = oglu::MakeShader("shaders/vertexShader.vert", "shaders/fragmentShader.frag");
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
catch (const std::runtime_error& e)
|
||||
{
|
||||
std::cerr << e.what() << std::endl;
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue