diff options
author | Sebastian Pauka <spauka@gmail.com> | 2020-02-26 15:06:50 +1100 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2020-03-30 08:25:14 +0200 |
commit | bd3a5876b0a730d4a5fc9e29a8446b7810c1697a (patch) | |
tree | 834ff9ab5025a5dd10666e78d45de8213b3e5f9b /src/video/cocoa/cocoa_v.h | |
parent | 57553cd8098ac003b3d5df6b9778214e6933c5d7 (diff) | |
download | openttd-bd3a5876b0a730d4a5fc9e29a8446b7810c1697a.tar.xz |
Fix #7644: [Cocoa] Manually set colorspace to sRGB
Diffstat (limited to 'src/video/cocoa/cocoa_v.h')
-rw-r--r-- | src/video/cocoa/cocoa_v.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h index 7535eaada..40646f887 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -84,6 +84,7 @@ public: int buffer_depth; ///< Colour depth of used frame buffer void *pixel_buffer; ///< used for direct pixel access void *window_buffer; ///< Colour translation from palette to screen + CGColorSpaceRef color_space; //< Window color space id window; ///< Pointer to window object # define MAX_DIRTY_RECTS 100 |