diff options
Diffstat (limited to 'src/graphui/classes/com')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java | 2 | ||||
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java index 593ba034d..fd564c800 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java +++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/Rectangle.java @@ -62,7 +62,7 @@ public class Rectangle extends GraphShape { * @param zPos */ public Rectangle(final int renderModes, final float minX, final float minY, final float width, final float height, final float lineWidth, final float zPos) { - super( renderModes & ~Region.AA_RENDERING_MASK ); + super( renderModes ); this.minX = minX; this.minY = minY; this.zPos = zPos; diff --git a/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java b/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java index 57a9b3909..ee594144a 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java +++ b/src/graphui/classes/com/jogamp/graph/ui/widgets/MediaPlayer.java @@ -211,7 +211,7 @@ public class MediaPlayer extends Widget { this.addShape( infoGroup.setVisible(false) ); { final float sz = 1/7f; - final Rectangle rect = new Rectangle(renderModes, aratio, sz, 0); + final Rectangle rect = new Rectangle(renderModes & ~Region.AA_RENDERING_MASK, aratio, sz, 0); rect.setName("mp.info.blend").setInteractive(false); rect.setColor(0, 0, 0, alphaBlend); rect.setPaddding(new Padding(0, 0, 1f-sz, 0)); @@ -286,7 +286,7 @@ public class MediaPlayer extends Widget { }); this.addShape( ctrlSlider.setVisible(false) ); - ctrlBlend = new Rectangle(renderModes, aratio, ctrlCellHeight, 0); + ctrlBlend = new Rectangle(renderModes & ~Region.AA_RENDERING_MASK, aratio, ctrlCellHeight, 0); ctrlBlend.setName("ctrl.blend").setInteractive(false); ctrlBlend.setColor(0, 0, 0, alphaBlend); this.addShape( ctrlBlend.setVisible(false) ); |