private void subrend2(GOut g) {
        if (id < 0)
            return;
        GL gl = g.gl;
        if (Config.profile)
            curf = prof.new Frame();
        if (!subrend(g))
            return;
        if (curf != null)
            curf.tick("render");
        g.texsel(id);
        //GOut.checkerr(gl);
        gl.glCopyTexSubImage2D(GL.GL_TEXTURE_2D, 0, 0, 0, 0, 0, dim.x, dim.y);
        //GOut.checkerr(gl);
        if (curf != null) {
            curf.tick("copy");
            curf.fin();
            curf = null;
        }
    }