Fixed texture setting bug
Merge branch 'master' of github.com:enigma-dev/enigma-dev