Skip to content

Commit

Permalink
nuklear: increase max float precision to at least more than 8-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
hanatos committed Dec 23, 2024
1 parent f39cc83 commit 24dbd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/nuklear.h
Original file line number Diff line number Diff line change
Expand Up @@ -5813,7 +5813,7 @@ struct nk_context {
#define NK_PI 3.141592654f
#define NK_PI_HALF 1.570796326f
#define NK_UTF_INVALID 0xFFFD
#define NK_MAX_FLOAT_PRECISION 2
#define NK_MAX_FLOAT_PRECISION 4

#define NK_UNUSED(x) ((void)(x))
#define NK_SATURATE(x) (NK_MAX(0, NK_MIN(1.0f, x)))
Expand Down

0 comments on commit 24dbd8c

Please sign in to comment.