add missing deleteFramebuffer, deleteRenderbuffer argument fixing
only send gl commandbuffer if contains content