Login  Register

Re: How to stop drawing outside of area (masking)?

Posted by elect on Feb 18, 2020; 9:59am
URL: https://forum.jogamp.org/How-to-stop-drawing-outside-of-area-masking-tp4040357p4040373.html

gouessej wrote
Yes an update would be welcome. If something goes wrong, feel free to ask some help. I'm no longer on Github, don't expect any pull request.
I'll wait till 2.4 gets available on maven

gouessej wrote
By the way, avoid storing GL instances, I've just looked at your kotlin source code. Take the LibGDX JOGL backend as an example.
Yeah, relict, I was actually retrieving it properly each frame: https://github.com/kotlin-graphics/imgui/blob/master/imgui-jogl/src/test/kotlin/imgui/test%20jogl.kt#L95