mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Fixed a fullscreen/displaymode setting bug
This commit is contained in:
parent
bc788f00c9
commit
282ac78fc1
1 changed files with 1 additions and 0 deletions
|
|
@ -182,6 +182,7 @@ public final class Display {
|
|||
current_mode = mode;
|
||||
if (isCreated()) {
|
||||
destroyWindow();
|
||||
setFullscreen(mode.isFullscreen());
|
||||
try {
|
||||
if (fullscreen)
|
||||
switchDisplayMode();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue