Revert "texture fix"

This reverts commit 4b7229903cc703daf411e337af000775a5d2cf1a.