Use defined nk type

This commit is contained in:
ryuukk 2022-06-15 23:10:18 +02:00 committed by GitHub
parent 0b3e282286
commit 59d53ef253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5452,7 +5452,7 @@ struct nk_context {
#define NK_UNUSED(x) ((void)(x))
#define NK_SATURATE(x) (NK_MAX(0, NK_MIN(1.0f, x)))
#define NK_LEN(x) ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x])))))
#define NK_LEN(x) ((sizeof(x)/sizeof(0[x])) / ((nk_size)(!(sizeof(x) % sizeof(0[x])))))
#define NK_ABS(a) (((a) < 0) ? -(a) : (a))
#define NK_BETWEEN(x, a, b) ((a) <= (x) && (x) < (b))
#define NK_INBOX(px, py, x, y, w, h)\