Fixed build.

This commit is contained in:
Branimir Karadžić
2017-09-19 20:28:04 -07:00
parent 4508fe4d16
commit 386c586415

View File

@@ -126,11 +126,11 @@ namespace bimg
break;
case TextureFormat::BGRA8:
imageSwizzleBgra8(dst, _width, _height, srcPitch, src);
imageSwizzleBgra8(dst, dstPitch, _width, _height, src, srcPitch);
break;
case TextureFormat::RGBA8:
bx::memCopy(dst, src, srcSlice);
bx::memCopy(_dst, _src, srcPitch, _height, srcPitch, dstPitch);
break;
default: