Fix wrong error message

This commit is contained in:
Exter-N 2023-02-19 05:03:34 +01:00 committed by Ottermandias
parent 86de28245d
commit e058b6e32b

View file

@ -74,7 +74,7 @@ public partial class ShpkFile : IWritable
}
if (samplers.Count != textures.Count || !samplers.All(pair => textures.TryGetValue(pair.Key, out var texName) && pair.Value == texName))
{
throw new ArgumentException($"The supplied blob has inconsistent shader and texture allocation.");
throw new ArgumentException($"The supplied blob has inconsistent sampler and texture allocation.");
}
}
_blob = value;