@Override
ShaderError useGLSLShaderProgram(Context ctx, ShaderProgramId shaderProgramId) {
if (VERBOSE) System.err.println("JoglPipeline.useGLSLShaderProgram()");
GL2 gl = context(ctx).getGL().getGL2();
gl.glUseProgramObjectARB(unbox(shaderProgramId));
((JoglContext) ctx).setShaderProgram((JoglShaderObject) shaderProgramId);
return null;
}
//----------------------------------------------------------------------