File tree 2 files changed +2
-16
lines changed
graphics-by-opengl-j2se/src/main/java/com/nucleus/renderer
graphics-by-opengl-lwjgl3/src/main/java/com/nucleus/lwjgl3 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import com .nucleus .J2SEWindow ;
4
4
import com .nucleus .SimpleLogger ;
5
- import com .nucleus .resource .ResourceBias .RESOLUTION ;
6
5
7
6
/**
8
7
* The size of the renderable area, this is a singleton class since only one instance of GL is supported.
@@ -19,11 +18,6 @@ public class Window {
19
18
int height ;
20
19
J2SEWindow platformWindow ;
21
20
22
- /**
23
- * Best fit resolution for the display - use this to figure out image scale bias
24
- */
25
- RESOLUTION resolution ;
26
-
27
21
/**
28
22
* Hide instantiation from clients.
29
23
*/
@@ -92,13 +86,4 @@ public int getHeight() {
92
86
return height ;
93
87
}
94
88
95
- /**
96
- * Returns the resolution of display, use this for image scale bias
97
- *
98
- * @return
99
- */
100
- public RESOLUTION getResolution () {
101
- return resolution ;
102
- }
103
-
104
89
}
Original file line number Diff line number Diff line change @@ -183,7 +183,8 @@ public void setWindowTitle(String title) {
183
183
184
184
@ Override
185
185
public VideoMode setVideoMode (VideoMode videoMode , int monitorIndex ) {
186
- throw new IllegalArgumentException ("Not implemented" );
186
+ // JAWT cannot change to fullscreen.
187
+ return videoMode ;
187
188
}
188
189
189
190
@ Override
You can’t perform that action at this time.
0 commit comments