Ignore:
Timestamp:
May 19, 2006, 7:44:27 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed caca_set_delay() and caca_get_rendertime() into caca_set_display_time() and caca_get_display_time() for consistency.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/demo.c

    r892 r964  
    5656        return 1;
    5757
    58     caca_set_delay(dp, 40000);
     58    caca_set_display_time(dp, 40000);
    5959
    6060    /* Initialize data */
     
    188188                                          cucul_get_canvas_height(cv) - 2);
    189189            cucul_printf(cv, 4, 1, "[%i.%i fps]----",
    190                          1000000 / caca_get_rendertime(dp),
    191                          (10000000 / caca_get_rendertime(dp)) % 10);
     190                         1000000 / caca_get_display_time(dp),
     191                         (10000000 / caca_get_display_time(dp)) % 10);
    192192            caca_refresh_display(dp);
    193193        }
Note: See TracChangeset for help on using the changeset viewer.