Add support for array textures that don't have FBOs. …
Simplify render targets (always array textures). Remove resize_texture which is now unused. Support uploading all texture types via PBO. Remove support for texture upload without PBO.