Modified both the Window and Texture object to support render-to-texture
functionality. Texture object must be created with the flag
SDL_RENDERER_TARGETTEXTURE. This is done when creating a blank Texture
object.