[Libgdx] [OpenGL] Copying texture from Framebuffer

I’m rendering some text to framebuffer. After rendering the text, I would like to somehow seperate frame buffer from that texture. I guess copy or detach the texture from framebuffer somehow.

Any thoughts on how to achieve this?

EDIT-------
Ok upon further inspection it seems that disposing of frame buffer also disposes of the texture, so detaching it is no longer an option.

EDIT----------
I copy/paste frame buffer source and just edited the dispose method so that it doesn’t dispose of the texture. What a nice hack…