(long window, int w, int h)
| 342 | if (a != null) |
| 343 | a.windowSize(window, w, h); |
| 344 | }; |
| 345 | |
| 346 | if (checkThread()) r.run(); |
| 347 | else { |
| 348 | events.addLast(r); |
| 349 | RunLoop.main.shouldSleep.add(Windows.this); |
| 350 | RunLoop.main.interrupt(); |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | @Override |
| 355 | public void framebufferSize(long window, int w, int h) { |
| 356 | Runnable r = () -> { |
| 357 | checkClassLoader(); |
| 358 | GlfwCallback a = adaptors.get(window); |
| 359 | if (a != null) |
| 360 | a.framebufferSize(window, w, h); |
| 361 | }; |
| 362 |
nothing calls this directly
no test coverage detected