mirror of https://github.com/adamdruppe/arsd.git
Practise what you preach
This commit is contained in:
parent
f2c15f0e31
commit
f815c0b336
|
@ -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 int[2] posDst = [
|
||||
posDstX,
|
||||
|
|
Loading…
Reference in New Issue