summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2021-06-04 17:09:40 (GMT)
committermarc_culler <marc.culler@gmail.com>2021-06-04 17:09:40 (GMT)
commit0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62 (patch)
tree4d81d98ee17ac27d2d11084a7d619d4c55f78fdd /macosx
parent7e7275b156921bc231e58d652dce3ba83d99589b (diff)
downloadtk-0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62.zip
tk-0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62.tar.gz
tk-0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62.tar.bz2
Fix DrawCanvas tests on linux.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXPort.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/tkMacOSXPort.h b/macosx/tkMacOSXPort.h
index b977610..cf8f615 100644
--- a/macosx/tkMacOSXPort.h
+++ b/macosx/tkMacOSXPort.h
@@ -141,6 +141,12 @@ MODULE_SCOPE int TkpPutRGBAImage(
unsigned int width, unsigned int height);
/*
+ * Inform tkCanvas.c that our XGetImage returns a 32pp pixmap packed as 0xAABBGGRR
+ */
+
+#define TK_XGETIMAGE_USES_ABGR32
+
+/*
* Used by xcolor.c
*/