diff options
Diffstat (limited to '')
-rw-r--r-- | src/blueshift_quartz_c.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/blueshift_quartz_c.h b/src/blueshift_quartz_c.h index f8ea783..d21ef02 100644 --- a/src/blueshift_quartz_c.h +++ b/src/blueshift_quartz_c.h @@ -25,9 +25,14 @@ # include "fake_quartz.h" #else # include <CoreGraphics/CGDirectDisplay.h> +# include <CoreGraphics/CGError.h> #endif +#ifndef FAKE_QUARTZ +# define close_fake_quartz() /* Do nothing */ +#endif + /** * Start stage of colour curve control @@ -69,6 +74,12 @@ int blueshift_quartz_apply(int use_crtc, float* r_curves, float* g_curves, float */ void blueshift_quartz_close(void); +/** + * Restore all gamma curves (on each and every CRTC on the system) + * to the settings on ColorSync + */ +void blueshift_quartz_restore(void); + #endif |