Browse Source

Added more verbose OpenGL failure messages

naelstrof 7 years ago
parent
commit
09787b38a2
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/slop.cpp

+ 3
- 0
src/slop.cpp View File

79
         try {
79
         try {
80
             window = new SlopWindow();
80
             window = new SlopWindow();
81
             success = true;
81
             success = true;
82
+        } catch( std::exception* e ) {
83
+            errorstring += std::string(e->what()) + "\n";
84
+            success = false;
82
         } catch (...) {
85
         } catch (...) {
83
             success = false;
86
             success = false;
84
         }
87
         }