mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 05:10:01 +03:00
Practise what you preach
This commit is contained in:
parent
f2c15f0e31
commit
f815c0b336
1 changed files with 1 additions and 1 deletions
|
@ -3128,7 +3128,7 @@ private void scaleToImpl(ScalingFilter filter)(const Pixmap source, Pixmap targe
|
||||||
}();
|
}();
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (x, ref pxDst; dstLine) {
|
foreach (const x, ref pxDst; dstLine) {
|
||||||
const posDstX = x.castTo!uint;
|
const posDstX = x.castTo!uint;
|
||||||
const int[2] posDst = [
|
const int[2] posDst = [
|
||||||
posDstX,
|
posDstX,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue