summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-07 17:25:40 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-07 17:56:04 +0300
commit57b44c3c66668794b5a180cc91f82e25a8fae92d (patch)
treeed65bb8aebf5eadfe5f96d90e2d9595351bc3544 /vcl/quartz
parent7bda773a967ae71302695cd1c5d3a780fa1d52ef (diff)
Log correct depth for the created CGBitmapContext
Change-Id: Icbcc4027d3fd9cb195c5fc6fd50f1ffaa7ce0d28
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/salvd.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx
index e980aa1ccfce..ee75417245da 100644
--- a/vcl/quartz/salvd.cxx
+++ b/vcl/quartz/salvd.cxx
@@ -244,6 +244,7 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY )
#endif
mxBitmapContext = CGBitmapContextCreate( pRawData, nDX, nDY,
8, nBytesPerRow, aCGColorSpace, aCGBmpInfo );
+ CG_TRACE( "CGBitmapContextCreate(" << nDX << "x" << nDY << "x32) = " << mxBitmapContext );
xCGContext = mxBitmapContext;
}
}
@@ -260,7 +261,7 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY )
#endif
mxBitmapContext = CGBitmapContextCreate( pRawData, nDX, nDY,
8, nBytesPerRow, aCGColorSpace, aCGBmpInfo );
- CG_TRACE( "CGBitmapContextCreate(" << nDX << "x" << nDY << "x8) = " << mxBitmapContext );
+ CG_TRACE( "CGBitmapContextCreate(" << nDX << "x" << nDY << "x32) = " << mxBitmapContext );
xCGContext = mxBitmapContext;
#endif
}