mirror of https://github.com/snes9xgit/snes9x.git
Fix xBRZ compile with older gcc
This commit is contained in:
parent
146ab1bd5f
commit
24e546cff8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue