summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--areaplan.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/areaplan.md b/areaplan.md
index b085aa9..b7e705b 100644
--- a/areaplan.md
+++ b/areaplan.md
@@ -127,6 +127,7 @@ func our_drawRect(self C.id, rect C.struct_xrect) {
hasAlpha:YES
isPlanar:NO
colorSpaceName:NSCalibratedRGBColorSpace // TODO NSDeviceRGBColorSpace?
+ bitmapFormat:NSAlphaNonpremultipliedBitmapFormat
bytesPerRow:i.Stride
bitsPerPixel:32]
[bitmap drawAtPoint:NSMakePoint(cliprect.x, cliprect.y)]