From 476fd02e105f77a76b4b299e6050d49b45ce938d Mon Sep 17 00:00:00 2001 From: bricks Date: Mon, 27 Mar 2023 20:12:02 -0400 Subject: [PATCH] Upload files to '' --- test.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test.c b/test.c index dc878cb..8184200 100644 --- a/test.c +++ b/test.c @@ -51,7 +51,6 @@ static long _t_full = 0; static long _t_paint = 0; static long _t_xsync = 0; -static double _delay = 0; static double _fps = 0; static long _total = 0; @@ -252,15 +251,6 @@ _init_xcb(void) /* xcb_wait_for_event() queue */ _x_sev = xcb_register_for_special_xge(_x_con, &xcb_present_id, id, &stamp); - - /* get frame delay */ - - xcb_randr_get_screen_info_cookie_t k = xcb_randr_get_screen_info(_x_con, _x_scr->root); - xcb_randr_get_screen_info_reply_t *r = xcb_randr_get_screen_info_reply(_x_con, k, NULL); - - _delay = 1000000.0 / (double)r->rate; - - free(r); } /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/