mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1313518- Handle width alignment of 32 r=nical
This commit is contained in:
parent
3a59c31923
commit
13f68529db
@ -89,7 +89,7 @@ CreateSourceSurfaceFromLockedMacIOSurface(MacIOSurface* aSurface)
|
||||
libyuv::ConvertToARGB((uint8_t*)aSurface->GetBaseAddress(), 0 /* not used */,
|
||||
mappedSurface.mData, mappedSurface.mStride,
|
||||
0, 0,
|
||||
size.width, size.height,
|
||||
ALIGNED_32(size.width), size.height,
|
||||
size.width, size.height,
|
||||
libyuv::kRotate0, libyuv::FOURCC_UYVY);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user