diff options
author | Sven Gothel <[email protected]> | 2023-03-14 15:01:07 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-14 15:01:07 +0100 |
commit | 9c471fe3efe7413b76eeb70b480de9e9c8f19b86 (patch) | |
tree | f4629e0eb157e094db93b0653bfddbb44755ea06 /src/demos/com/jogamp | |
parent | d85f0417cc88610408853b2b22d0339e63e1a719 (diff) |
GraphUI: GLButton: Don't pass FBO size @ ctor, calculate true view-size @ 1st draw
Diffstat (limited to 'src/demos/com/jogamp')
-rw-r--r-- | src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java b/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java index c73cb7526..ef48b19df 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java @@ -624,8 +624,7 @@ public class GPUUISceneGLListener0A implements GLEventListener { } final GLButton glelButton = new GLButton(sceneUICntrl.getVertexFactory(), renderModes, button2XSize, button2YSize, - texUnitGLELButton, glel, false /* useAlpha */, - (int)(button2XSize), (int)(button2YSize)); + texUnitGLELButton, glel, false /* useAlpha */); glelButton.setName(BUTTON_GLEL); glelButton.setToggleable(true); glelButton.setToggle(false); // toggle == true -> animation |