(int error, String description)
| 101 | @Override |
| 102 | public void error(int error, String description) { |
| 103 | System.err.println(" ERROR in GLFW windowing system :" + error + " / " + description); |
| 104 | Runnable r = () -> { |
| 105 | checkClassLoader(); |
| 106 | System.err.println(" ERROR in GLFW windowing system :" + error + " / " + description); |
| 107 | new Exception().printStackTrace(); |
| 108 | }; |
| 109 | |
| 110 | if (checkThread()) r.run(); |
| 111 | else { |
| 112 | events.addLast(r); |
| 113 | RunLoop.main.shouldSleep.add(Windows.this); |
| 114 | RunLoop.main.interrupt(); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | @Override |
| 119 | public void windowFocus(long window, boolean focused) { |
| 120 | Runnable r = () -> { |
| 121 | checkClassLoader(); |
no test coverage detected