mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Fixed build.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user