diff options
author | kevin_walzer <kevin_walzer@noemail.net> | 2016-07-15 10:47:18 (GMT) |
---|---|---|
committer | kevin_walzer <kevin_walzer@noemail.net> | 2016-07-15 10:47:18 (GMT) |
commit | c8fc665905f4fe5ffa5c5d99a31ca13014447a39 (patch) | |
tree | 2709070b1ea361c2ed7993c57f868eadb0a34720 /xlib/X11 | |
parent | b09b8d43e2cda88768776a057144875de6d51d3c (diff) | |
download | tk-c8fc665905f4fe5ffa5c5d99a31ca13014447a39.zip tk-c8fc665905f4fe5ffa5c5d99a31ca13014447a39.tar.gz tk-c8fc665905f4fe5ffa5c5d99a31ca13014447a39.tar.bz2 |
Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks to Marc Culler for assistance
FossilOrigin-Name: 132ff991171d76df198701370b7c7290921a2135
Diffstat (limited to 'xlib/X11')
-rw-r--r-- | xlib/X11/Xlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlib/X11/Xlib.h b/xlib/X11/Xlib.h index 667bdc7..8d8ec68 100644 --- a/xlib/X11/Xlib.h +++ b/xlib/X11/Xlib.h @@ -330,6 +330,9 @@ typedef struct _XImage { unsigned long green_mask; unsigned long blue_mask; XPointer obdata; /* hook for the object routines to hang on */ +#if defined(MAC_OSX_TK) + int pixelpower; /* n such that pixels are 2^n x 2^n blocks*/ +#endif struct funcs { /* image manipulation routines */ struct _XImage *(*create_image)(); #if NeedFunctionPrototypes |