mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 12:44:19 +01:00
Fix wrong error message
This commit is contained in:
parent
86de28245d
commit
e058b6e32b
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
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;
|
_blob = value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue