added texture bind redundance checking