equal
deleted
inserted
replaced
59 private DisplayMode originalMode; |
59 private DisplayMode originalMode; |
60 |
60 |
61 public CGraphicsDevice(final int displayID) { |
61 public CGraphicsDevice(final int displayID) { |
62 this.displayID = displayID; |
62 this.displayID = displayID; |
63 config = CGLGraphicsConfig.getConfig(this, displayID, 0); |
63 config = CGLGraphicsConfig.getConfig(this, displayID, 0); |
|
64 // initializes default device state, might be redundant step since we |
|
65 // call "displayChanged()" later anyway, but we do not want to leave the |
|
66 // device in an inconsistent state after construction |
|
67 displayChanged(); |
64 } |
68 } |
65 |
69 |
66 /** |
70 /** |
67 * Return a list of all configurations. |
71 * Return a list of all configurations. |
68 */ |
72 */ |