change to texture buffer