#include "rts_glRenderToTexture.h" void rts_glRenderToTexture::Clean() { //clean up the fbo glDeleteFramebuffersEXT(1, &fbo); int num_tex = textures.size(); //clean up all textures associated with the fbo for(int i=0; i