[cairo-commit] src/cairo-quartz-surface.c
Vladimir Vukicevic
vladimir at kemper.freedesktop.org
Mon Mar 3 20:00:13 PST 2008
src/cairo-quartz-surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4588b016d389bb678ab55f7dbbf2bf8cdf597bc1
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date: Mon Mar 3 20:00:08 2008 -0800
[quartz] compilation fix
I'm an idiot and forgot to stg refresh, apparently.
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index e39ba56..f26cc51 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -146,7 +146,7 @@ _cairo_quartz_is_cgcontext_bitmap_context (CGContextRef cgc) {
}
/* This will cause a (harmless) warning to be printed if called on a non-bitmap context */
- return CGBitmapContextGetBitsPerPixel(surface->cgContext) != 0;
+ return CGBitmapContextGetBitsPerPixel(cgc) != 0;
}
/* CoreGraphics limitation with flipped CTM surfaces: height must be less than signed 16-bit max */
More information about the cairo-commit
mailing list