Fix xBRZ compile with older gcc

This commit is contained in:
OV2 2018-02-27 21:40:11 +01:00
parent 146ab1bd5f
commit 24e546cff8
1 changed files with 6 additions and 2 deletions

View File

@ -201,8 +201,12 @@ void bilinearScale(const uint32_t* src, int srcWidth, int srcHeight, int srcPitc
const double xx1 = x / scaleX - x1;
const double x2x = 1 - xx1;
buf[x] = { x1, x2, xx1, x2x };
CoeffsX tmp;
tmp.x1 = x1;
tmp.x2 = x2;
tmp.xx1 = xx1;
tmp.x2x = x2x;
buf[x] = tmp;
}
for (int y = yFirst; y < yLast; ++y)