diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-21 13:31:29 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-21 13:31:29 +0100 |
commit | 89306e608e74cb13c3fc7a5848ffd4108787f61b (patch) | |
tree | dfe6a9360c6af2b7e0da6133ff77f7e71f49615c | |
parent | does not seem to be possible to fix the cursor's colour (diff) | |
download | blueshift-89306e608e74cb13c3fc7a5848ffd4108787f61b.tar.gz blueshift-89306e608e74cb13c3fc7a5848ffd4108787f61b.tar.bz2 blueshift-89306e608e74cb13c3fc7a5848ffd4108787f61b.tar.xz |
remove old variables
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/blueshift_randr_c.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/blueshift_randr_c.c b/src/blueshift_randr_c.c index bf2656e..8a40f7c 100644 --- a/src/blueshift_randr_c.c +++ b/src/blueshift_randr_c.c @@ -79,21 +79,6 @@ static blueshift_randr_crtc_t* crtcs; */ static blueshift_randr_crtc_t* crtcs_end; -/** - * The red colour curve - */ -static uint16_t* r_curve; - -/** - * The green colour curve - */ -static uint16_t* g_curve; - -/** - * The blue colour curve - */ -static uint16_t* b_curve; - /** @@ -216,13 +201,6 @@ int blueshift_randr_open(int use_screen) free(gamma_get_reply); } - - /* Allocate curves */ - - r_curve = malloc(3 * 256 * sizeof(uint16_t)); - g_curve = r_curve + 256; - b_curve = g_curve + 256; - return 0; } @@ -284,7 +262,6 @@ void blueshift_randr_close(void) { /* Free remaining resources */ - free(r_curve); free(crtcs); free(res_reply); xcb_disconnect(connection); |