minor update in some bit-shifting in custom texture-manager