Texture manager

Warning fix