Implemented Render to Texture

Render to texture is very difficult to do with NVIDIA cards like mine.
Often times the buggy drivers think that a texture isn't complete when
mip mapping isn't detected. If this doesn't work for you, then sorry,
but I'm all out of ideas. It's working for me right now.