mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Compatibility fix.
This commit is contained in:
parent
e08e9c4d13
commit
8318a4bd84
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ public class MaterialExporter
|
|||
var normal = material.Textures[TextureUsage.SamplerNormal];
|
||||
|
||||
var operation = new ProcessCharacterNormalOperation(normal, table);
|
||||
ParallelRowIterator.IterateRows(ImageSharpConfiguration.Default, normal.Bounds(), in operation);
|
||||
ParallelRowIterator.IterateRows(ImageSharpConfiguration.Default, normal.Bounds, in operation);
|
||||
|
||||
// Check if full textures are provided, and merge in if available.
|
||||
var baseColor = operation.BaseColor;
|
||||
|
|
@ -199,7 +199,7 @@ public class MaterialExporter
|
|||
small.Mutate(context => context.Resize(large.Width, large.Height));
|
||||
|
||||
var operation = new MultiplyOperation<TPixel1, TPixel2>(target, multiplier);
|
||||
ParallelRowIterator.IterateRows(ImageSharpConfiguration.Default, target.Bounds(), in operation);
|
||||
ParallelRowIterator.IterateRows(ImageSharpConfiguration.Default, target.Bounds, in operation);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue