Skip to content

Commit

Permalink
feat: add LCUI_MAX_FRAME_MSEC macro
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Oct 28, 2018
1 parent e56d3e4 commit 7abc901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/LCUI/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
/** 一秒内的最大更新帧数 */
#define LCUI_MAX_FRAMES_PER_SEC 120
#define LCUI_MAX_FRAME_MSEC ((int)(1000.0 / LCUI_MAX_FRAMES_PER_SEC + 0.5))

LCUI_BEGIN_HEADER

Expand Down

0 comments on commit 7abc901

Please sign in to comment.