librender: clean up texture sampler