Use sRGB colorspace for IOSurface (flutter/engine#34464)

This commit is contained in:
Matej Knopp
2022-07-07 04:04:03 +02:00
committed by GitHub
parent 53fb9e7d96
commit e6bda8e474

View File

@@ -51,6 +51,7 @@
};
_ioSurface = IOSurfaceCreate((CFDictionaryRef)options);
IOSurfaceSetValue(_ioSurface, CFSTR("IOSurfaceColorSpace"), kCGColorSpaceSRGB);
}
- (const IOSurfaceRef&)ioSurface {