void updateMaterialColor(Context ctx, float r, float g, float b, float a) {
if (VERBOSE) System.err.println("JoglPipeline.updateMaterialColor()");
GL2 gl = context(ctx).getGL().getGL2();
gl.glColor4f(r, g, b, a);
gl.glDisable(GL2.GL_LIGHTING);
}
@Override
void destroyContext(Drawable drawable, Context ctx) {
if (VERBOSE) System.err.println("JoglPipeline.destroyContext()");