Hack for iOS15

This commit is contained in:
Olivier Goguel 2021-11-05 22:25:05 +01:00
parent ec9b5a0b8f
commit 3110db04dc
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ void x_async_refresh(CGContextRef myContext,CGRect myBoundingBox)
CGImageRef myImage = CGBitmapContextCreateImage((CGContextRef)g_kimage_offscreen.dev_handle);
// IOS15 Hack, thanks to https://github.com/yoshisuga
myBoundingBox.size.width = myBoundingBox.size.width+1;
CGContextDrawImage(myContext, myBoundingBox, myImage);// 6