mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-18 12:54:10 +00:00
fix: selection of display mode made "better"
This commit is contained in:
parent
e772198159
commit
86279b768f
3 changed files with 8 additions and 10 deletions
|
|
@ -87,9 +87,9 @@ public class MovingSoundTest extends BasicTest {
|
|||
for (int i = 0; i < modes.length; i ++) {
|
||||
if( modes[i].width == 640 &&
|
||||
modes[i].height == 480 &&
|
||||
modes[i].bpp == 16 &&
|
||||
modes[i].freq == 60) {
|
||||
modes[i].bpp >= 16) {
|
||||
mode = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
Display.create(modes[mode], false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue