mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 22:45:50 +00:00
Added Display.getDesktopDisplayMode()
This commit is contained in:
parent
f109841108
commit
a7accb99a0
1 changed files with 11 additions and 0 deletions
|
|
@ -205,6 +205,17 @@ public final class Display {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the initial desktop display mode.
|
||||
*
|
||||
* @return The desktop display mode
|
||||
*/
|
||||
public static DisplayMode getDesktopDisplayMode() {
|
||||
synchronized (GlobalLock.lock) {
|
||||
return initial_mode;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the current display mode, as set by setDisplayMode().
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue