fixed tests according to new way

cleaned up imports
This commit is contained in:
Brian Matzon 2004-03-26 21:57:57 +00:00
parent 8a2d246060
commit afb8491cfa
13 changed files with 23 additions and 215 deletions

View file

@ -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();