diff options
author | marc_culler <marc.culler@gmail.com> | 2021-06-04 17:09:40 (GMT) |
---|---|---|
committer | marc_culler <marc.culler@gmail.com> | 2021-06-04 17:09:40 (GMT) |
commit | 0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62 (patch) | |
tree | 4d81d98ee17ac27d2d11084a7d619d4c55f78fdd /macosx | |
parent | 7e7275b156921bc231e58d652dce3ba83d99589b (diff) | |
download | tk-0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62.zip tk-0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62.tar.gz tk-0231d3d49f0f467b3d51d6cda325a1f5a2fc3b62.tar.bz2 |
Fix DrawCanvas tests on linux.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXPort.h | 6 |
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 */ |