Reply – Re: Renderer.updateTexture2DSubImage...
Your Name
Subject
Message
or Cancel
In Reply To
Re: Renderer.updateTexture2DSubImage...
— by ThomasR ThomasR
Hi there,

Callable() {
   JoglCanvasRenderer.makeContextCurrent()
     updateTexture
  JoglCanvasRenderer.releaseCurrrentContext()
}

Works! Thank you for the tip!  I need to work with this for a more general approach in our system.

However, contextDropAndReclaimOnDrawEnabled=false does NOT work. Looking at the code a bit, I think this boolean is not checked in time, ie. updateTexture wants to know the context is current before the draw() method is called. Not sure.

Tom