mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-08 11:52:02 +08:00
add macro ROUND_TO_MULTIPLE
This commit is contained in:
@@ -118,6 +118,8 @@
|
||||
#define LEN_MTYPE_NAME 23
|
||||
#define LEN_FOURCC_FORMAT 7
|
||||
|
||||
#define ROUND_TO_MULTIPLE(n, m) (((n) + (((m) - 1))) & ~((m) - 1))
|
||||
|
||||
// misc constants
|
||||
// #define MAX_SRV_CLIP_RECTS 8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user