aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2023-03-20 20:48:44 +0100
committerSven Gothel <sgothel@jausoft.com>2023-03-20 20:48:44 +0100
commit118d754af34d6d475600e6747e01e950a6cf77cf (patch)
treebf9f1f1aa92227dc98de5eb071ca718fef454e56 /src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
parent9a9309c7bf2b5edc27b5f84bee547c5bf0539010 (diff)
GraphUI Shape: Provide empty default implementation for clearImpl() and destroyImpl()
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
index 9f39564ea..7928d09f4 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/gl/Shape.java
@@ -1137,8 +1137,10 @@ public abstract class Shape {
//
//
- protected abstract void clearImpl(GL2ES2 gl, RegionRenderer renderer);
- protected abstract void destroyImpl(GL2ES2 gl, RegionRenderer renderer);
+ protected void clearImpl(final GL2ES2 gl, final RegionRenderer renderer) { }
+
+ protected void destroyImpl(final GL2ES2 gl, final RegionRenderer renderer) { }
+
protected abstract void addShapeToRegion();
//