diff options
author | Sven Gothel <[email protected]> | 2023-04-19 20:48:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-04-19 20:48:43 +0200 |
commit | c947fe21a0c62b4aa3b5af66e3109d9d50833d29 (patch) | |
tree | d193520c632bc3e9a8aea0a2483fc4800e47885e | |
parent | 93fede2562cab03478bbc1e0df1846a42103c563 (diff) |
Graph Region.addOutlineShape(): Fix DEBUG_INSTANCE path, enable perf counter if disabled.
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/curve/Region.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/Region.java b/src/jogl/classes/com/jogamp/graph/curve/Region.java index e897acba1..0263b102f 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/Region.java +++ b/src/jogl/classes/com/jogamp/graph/curve/Region.java @@ -547,6 +547,9 @@ public abstract class Region { if( null == perf && !DEBUG_INSTANCE ) { addOutlineShape0(shape, t, rgbaColor); } else { + if( null == perf ) { + perfCounter().enable(true); + } addOutlineShape1(shape, t, rgbaColor); } markShapeDirty(); |