mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 10:03:48 +00:00
Fix compiler warnings
This commit is contained in:
parent
6cd8facf49
commit
a15e015b82
1 changed files with 2 additions and 2 deletions
|
@ -216,8 +216,8 @@ Image<PixelType> Image<PixelType>::Diff(Image<PixelType> *other, float mult) {
|
|||
other->ComputePixels();
|
||||
|
||||
Image<PixelType> result(GetWidth(), GetHeight());
|
||||
for (int j = 0; j < GetHeight(); ++j) {
|
||||
for (int i = 0; i < GetWidth(); ++i) {
|
||||
for (uint32 j = 0; j < GetHeight(); ++j) {
|
||||
for (uint32 i = 0; i < GetWidth(); ++i) {
|
||||
result(i, j) = PixelAbs((*this)(i, j) - (*other)(i, j));
|
||||
result(i, j) *= mult;
|
||||
result(i, j).MakeOpaque();
|
||||
|
|
Loading…
Reference in a new issue