Removed unneccessary code
You do not need to supply the number of textures bound to a framebuffer anymore.

Lessening the code means lowering the potential of bugs.