diff options
author | Sven Gothel <[email protected]> | 2023-08-01 18:58:00 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-08-01 18:58:00 +0200 |
commit | c777df3147deb5a97b4dced9a1629cacd8a6db16 (patch) | |
tree | e0ef3d084e718d92d27505f7ddd01fb51c7f3c82 /src/demos | |
parent | de4767e90f752cb9804403fa4ac775394bb45324 (diff) |
UISceneDemoU01a: Destory textRegion @ dispose
Diffstat (limited to 'src/demos')
-rw-r--r-- | src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemoU01a.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemoU01a.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemoU01a.java index 4eb5f90e3..27bc34b58 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemoU01a.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemoU01a.java @@ -353,6 +353,7 @@ public class UISceneDemoU01a { @Override public void dispose(final GLAutoDrawable drawable) { final GL2ES2 gl = drawable.getGL().getGL2ES2(); + textRegion.destroy(gl); shape.destroy(gl, renderer); renderer.destroy(gl); System.err.println("Destroyed"); |