summaryrefslogtreecommitdiffstats
path: root/src/blueshift_randr_c.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blueshift_randr_c.c (renamed from src/blueshift_randr.c)20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/blueshift_randr.c b/src/blueshift_randr_c.c
index 98ba2a3..bf2656e 100644
--- a/src/blueshift_randr.c
+++ b/src/blueshift_randr_c.c
@@ -290,23 +290,3 @@ void blueshift_randr_close(void)
xcb_disconnect(connection);
}
-
-
-int main(int argc, char** argv)
-{
- long i;
-
- (void) argc;
- (void) argv;
-
- if (blueshift_randr_open(0))
- return 1;
-
- for (i = 0; i < 256; i++)
- r_curve[i] = g_curve[i] = b_curve[i] = (int)((float)i / 255.f * (float)((1 << 16) - 1) + 0.f);
-
- i = blueshift_randr_apply(~0, r_curve, g_curve, b_curve);
- blueshift_randr_close();
- return i;
-}
-