Added texture memory optimization from future-dev
Fixed mipmapping issue again
Implemented rendering to back buffer
Added texture test to rotating cube sample