mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 12:41:27 +08:00
Further minor change to support macOS 11.0 "Big Sur".
This commit is contained in:
+1
-1
@@ -2188,7 +2188,7 @@ static FLTextInputContext* fltextinputcontext_instance = nil;
|
||||
static CGColorSpaceRef cspace = CGColorSpaceCreateDeviceRGB();
|
||||
int W = [self frame].size.width, H = [self frame].size.height;
|
||||
if (r) { W *= 2; H *= 2; }
|
||||
aux_bitmap = CGBitmapContextCreate(NULL, W, H, 8, 0, cspace, kCGImageAlphaPremultipliedFirst);
|
||||
aux_bitmap = CGBitmapContextCreate(NULL, W, H, 8, 0, cspace, kCGImageAlphaPremultipliedFirst|kCGBitmapByteOrder32Host);
|
||||
} else {
|
||||
aux_bitmap = CGBitmapContextCreate(NULL, CGBitmapContextGetWidth(gc), CGBitmapContextGetHeight(gc),
|
||||
CGBitmapContextGetBitsPerComponent(gc), CGBitmapContextGetBytesPerRow(gc),
|
||||
|
||||
Reference in New Issue
Block a user