Procházet zdrojové kódy

Upload files to ''

master
bricks před 1 rokem
rodič
revize
476fd02e10
1 změnil soubory, kde provedl 0 přidání a 10 odebrání
  1. +0
    -10
      test.c

+ 0
- 10
test.c Zobrazit soubor

@@ -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);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/


Načítá se…
Zrušit
Uložit