Fixed texture update when requested texture format doesn't match internal texture format, and simplified texture creation.