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,6 +79,9 @@ slop::SlopSelection slop::SlopSelect( slop::SlopOptions* options, bool* cancelle
79 79
         try {
80 80
             window = new SlopWindow();
81 81
             success = true;
82
+        } catch( std::exception* e ) {
83
+            errorstring += std::string(e->what()) + "\n";
84
+            success = false;
82 85
         } catch (...) {
83 86
             success = false;
84 87
         }