Revert "Use sampler Object in setTexture when available."

This reverts commit 6f15b17e7b62f89106559d2aea683adb362cab52.