Upload files to ''

This commit is contained in:
bricks 2023-03-27 20:12:02 -04:00
parent e2c854c161
commit 476fd02e10

10
test.c
View File

@ -51,7 +51,6 @@ static long _t_full = 0;
static long _t_paint = 0; static long _t_paint = 0;
static long _t_xsync = 0; static long _t_xsync = 0;
static double _delay = 0;
static double _fps = 0; static double _fps = 0;
static long _total = 0; static long _total = 0;
@ -252,15 +251,6 @@ _init_xcb(void)
/* xcb_wait_for_event() queue */ /* xcb_wait_for_event() queue */
_x_sev = xcb_register_for_special_xge(_x_con, &xcb_present_id, id, &stamp); _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);
} }
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/ /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/