()
| 602 | } |
| 603 | |
| 604 | private void createDisplay() throws LWJGLException |
| 605 | { |
| 606 | Display.setResizable(true); |
| 607 | Display.setTitle("Loading " + Slack.getInstance().getInfo().getName() + " " + Slack.getInstance().getInfo().getVersion() + " (" + Slack.getInstance().getInfo().getType() + ") "); |
| 608 | |
| 609 | try |
| 610 | { |
| 611 | Display.create((new PixelFormat()).withDepthBits(24)); |
| 612 | } |
| 613 | catch (LWJGLException lwjglexception) |
| 614 | { |
| 615 | logger.error("Couldn\'t set pixel format", lwjglexception); |
| 616 | |
| 617 | try |
| 618 | { |
| 619 | Thread.sleep(1000L); |
| 620 | } |
| 621 | catch (InterruptedException var3) |
| 622 | { |
| 623 | ; |
| 624 | } |
| 625 | |
| 626 | if (this.fullscreen) |
| 627 | { |
| 628 | this.updateDisplayMode(); |
| 629 | } |
| 630 | |
| 631 | Display.create(); |
| 632 | } |
| 633 | } |
| 634 | |
| 635 | private void setInitialDisplayMode() throws LWJGLException |
| 636 | { |
no test coverage detected