fixed texture.h
seg fault was due to bounding rectangle and model_view