Corrected 0/-1 errors for textures
UNIX line endings
Merge branch 'linuxFixes' into develop