Was a missing NULL-pointer check. No idea why it took so long to figure issue out -- apparently there was no crash in linux for me and msvc didn't show any backtrace :S Also corrected weirdo way of bit flag check which was: !ma->mode & MA_FACETEXTURE better do !(ma->mode & MA_FACETEXTURE) since ! is a logic NOT.
94 KiB
94 KiB