mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 23:44:06 +00:00
Mac OS X: Added support for org.lwjgl.opengl.Window.undecorated
This commit is contained in:
parent
bc6cabc1fd
commit
69fc946640
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@ final class MacOSXFrame extends Frame implements WindowListener, ComponentListen
|
|||
addComponentListener(this);
|
||||
canvas = new MacOSXGLCanvas();
|
||||
add(canvas, BorderLayout.CENTER);
|
||||
setUndecorated(fullscreen);
|
||||
boolean undecorated = Boolean.getBoolean("org.lwjgl.opengl.Window.undecorated");
|
||||
setUndecorated(fullscreen || undecorated);
|
||||
if ( fullscreen ) {
|
||||
getDevice().setFullScreenWindow(this);
|
||||
getDevice().setDisplayMode(requested_mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue