bridge function for binding textures, will reduce errors during 1.6
update