diff options
author | Sven Gothel <[email protected]> | 2023-03-15 03:37:44 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-15 03:37:44 +0100 |
commit | f8584748e33aab56780eca5cf7009a5a0d11991d (patch) | |
tree | 607524acb482e80dad20a3a5b00e0a2e76179d34 /src/graphui/classes/com/jogamp/graph/ui/gl/Scene.java | |
parent | b3fe96b2916eb0359412aa8e57a9b1a9577f247d (diff) |
Graph: Make RenderState a composition of RegionRenderer, which also creates and destroys it. Dropping this also from user (complexity).
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/gl/Scene.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/gl/Scene.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/gl/Scene.java b/src/graphui/classes/com/jogamp/graph/ui/gl/Scene.java index ac5258595..737589954 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/gl/Scene.java +++ b/src/graphui/classes/com/jogamp/graph/ui/gl/Scene.java @@ -100,8 +100,7 @@ public final class Scene implements GLEventListener { private GLAutoDrawable cDrawable = null; private static RegionRenderer createRenderer() { - final RenderState rs = RenderState.createRenderState(SVertex.factory()); - return RegionRenderer.create(rs, RegionRenderer.defaultBlendEnable, RegionRenderer.defaultBlendDisable); + return RegionRenderer.create(SVertex.factory(), RegionRenderer.defaultBlendEnable, RegionRenderer.defaultBlendDisable); } /** |