Worked on the texture manager