aboutsummaryrefslogtreecommitdiffstats
path: root/main.m
diff options
context:
space:
mode:
Diffstat (limited to 'main.m')
-rw-r--r--main.m19
1 files changed, 19 insertions, 0 deletions
diff --git a/main.m b/main.m
new file mode 100644
index 0000000..5cc0ad0
--- /dev/null
+++ b/main.m
@@ -0,0 +1,19 @@
+#import <CoreGraphics/CoreGraphics.h>
+
+int main(int argc, const char * argv[]) {
+ const CGGammaValue gamma[2] = {1, 0};
+ const CGGammaValue two[2] = {1, 0};
+ const CGGammaValue three[2] = {0, 1};
+
+ CGSetDisplayTransferByTable(
+ CGMainDisplayID(),
+ 2,
+ gamma,
+ gamma,
+ gamma
+ );
+
+ sleep(5);
+
+ return 0;
+}