mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
fixed tests according to new way
cleaned up imports
This commit is contained in:
parent
8a2d246060
commit
afb8491cfa
13 changed files with 23 additions and 215 deletions
|
|
@ -163,6 +163,7 @@ public class FullScreenWindowedTest {
|
|||
//check for fullscreen key
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_F)) {
|
||||
try {
|
||||
Window.destroy();
|
||||
Display.setDisplayMode(mode);
|
||||
Window.create("Test", mode.bpp, 0, 0, 0, 0);
|
||||
glInit();
|
||||
|
|
@ -173,6 +174,7 @@ public class FullScreenWindowedTest {
|
|||
//check for window key
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_W)) {
|
||||
try {
|
||||
Window.destroy();
|
||||
Display.resetDisplayMode();
|
||||
Window.create("Test", 50, 50, mode.width, mode.height, mode.bpp, 0, 0, 0, 0);
|
||||
glInit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue