Bug 1162

Summary: Using TextRegionUtil (RegionRenderer and RenderState) with user GL code
Product: [JogAmp] Jogl Reporter: Lili <salzabg>
Component: graphAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: normal CC: rami.santina, sgothel
Priority: ---    
Version: tbd   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---

Description Lili 2015-06-11 17:36:11 CEST
Unable to render both text and my own shapes (using my own shaders).
Previous solution of using
gl.glUseProgram(shaderState.shaderProgram().program())
  // text rendering
  .......
gl.glUseProgram(myOwnProgram)
  // my stuff
  ......

doesn't work any more.

Instead I needed to set 
 RenderState.setShaderProgram(final GL2ES2 gl, final ShaderProgram someShProg) {..}