Merge pull request #733 from aerofly/master

Avoid MTLDevice minimumLinearTextureAlignmentForPixelFormat failed assertion