aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
index 86cff4dae..0dbd11adf 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
@@ -58,7 +58,7 @@ public abstract class TexSeqButton extends BaseButton {
@Override
protected void addShapeToRegion(final GLProfile glp, final GL2ES2 gl) {
final OutlineShape shape = createBaseShape(0f);
- updateGLRegion(glp, gl, texSeq, shape);
+ resetGLRegion(glp, gl, texSeq, shape);
region.addOutlineShape(shape, null, rgbaColor);
box.resize(shape.getBounds());
setRotationPivot( box.getCenter() );