mirror of https://github.com/adamdruppe/arsd.git
Fix a few things
This commit is contained in:
parent
442c616bae
commit
c9790d0c19
|
@ -393,7 +393,7 @@ struct UDecimal {
|
||||||
|
|
||||||
///
|
///
|
||||||
public this(uint initialValue) {
|
public this(uint initialValue) {
|
||||||
_value = (long(initialValue) << 32);
|
_value = (ulong(initialValue) << 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static UDecimal make(ulong internal) {
|
private static UDecimal make(ulong internal) {
|
||||||
|
@ -3332,10 +3332,11 @@ private void scaleToImpl(ScalingFilter filter)(const Pixmap source, Pixmap targe
|
||||||
|
|
||||||
if (directions[0] == none) {
|
if (directions[0] == none) {
|
||||||
if (directions[1] == none) {
|
if (directions[1] == none) {
|
||||||
version (none)
|
version (none) {
|
||||||
scaleToLinearImpl!(none, none)();
|
scaleToLinearImpl!(none, none)();
|
||||||
else
|
} else {
|
||||||
return;
|
target.data[] = source.data[];
|
||||||
|
}
|
||||||
} else if (directions[1] == up) {
|
} else if (directions[1] == up) {
|
||||||
scaleToLinearImpl!(none, up)();
|
scaleToLinearImpl!(none, up)();
|
||||||
} else /* if (directions[1] == down) */ {
|
} else /* if (directions[1] == down) */ {
|
||||||
|
|
Loading…
Reference in New Issue