Fix DisplayTest

This commit is contained in:
Elias Naur 2004-09-22 18:42:16 +00:00
parent c6e9d5f13b
commit dcaf73c2e7
1 changed files with 2 additions and 4 deletions

View File

@ -124,12 +124,10 @@ public class DisplayTest {
}
// find a mode
System.out.print("Looking for 640x480x16@60...");
System.out.print("Looking for 640x480...");
for(int i=0; i<modes.length;i++) {
if (modes[i].getWidth() == 640 &&
modes[i].getHeight() == 480 &&
modes[i].getBitsPerPixel() == 16 &&
modes[i].getFrequency() == 60) {
modes[i].getHeight() == 480) {
mode = modes[i];
System.out.println("found!");
break;