diff options
author | Sven Gothel <[email protected]> | 2011-10-06 05:51:48 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-06 05:51:48 +0200 |
commit | fa7627f623141c6fa15856c74d26c8ffe82550d0 (patch) | |
tree | ea9b5f64c3a879f2c6078dd81cbdd739b1a871a2 /src/test/com/jogamp | |
parent | 51f84125beb4ac50fedab9fe691225b234b12bc6 (diff) |
NEWT/Android: respect isUndecorated() and custom window size.
TODO: custom position and change position ?!
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r-- | src/test/com/jogamp/opengl/test/android/NEWTGearsES2TransActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/android/NEWTGearsES2TransActivity.java b/src/test/com/jogamp/opengl/test/android/NEWTGearsES2TransActivity.java index 1862b1ba1..84ff0a5a7 100644 --- a/src/test/com/jogamp/opengl/test/android/NEWTGearsES2TransActivity.java +++ b/src/test/com/jogamp/opengl/test/android/NEWTGearsES2TransActivity.java @@ -55,7 +55,9 @@ public class NEWTGearsES2TransActivity extends NewtBaseActivity { caps.setBackgroundOpaque(false); Log.d(TAG, "req caps: "+caps); GLWindow glWindow = GLWindow.create(caps); - glWindow.setFullscreen(true); + glWindow.setSize(300, 300); + // glWindow.setFullscreen(true); + glWindow.setUndecorated(true); setContentView(getWindow(), glWindow); glWindow.addGLEventListener(new GearsES2(1)); |