fp: Fix incorrect format for Dqn_usize causing wrapping on web
This commit is contained in:
parent
3e00aefff5
commit
edfa461c9a
@ -3038,7 +3038,7 @@ void FP_Render(FP_Game *game, TELY_Platform *platform, TELY_Renderer *renderer,
|
||||
TELY_Render_TextF(renderer,
|
||||
Dqn_V2_InitNx2(next_pos.x + money_icon_rect.size.x * .75f, money_icon_rect.pos.y),
|
||||
Dqn_V2_InitNx2(0, -0.5),
|
||||
"$%I64u",
|
||||
"$%zu",
|
||||
player->coins);
|
||||
|
||||
// NOTE: Draw the icon shadow
|
||||
|
@ -425,7 +425,7 @@ int main(int argc, char const **argv)
|
||||
build_context.compile_flags = Dqn_Slice_InitCArrayCopy(scratch.arena, {
|
||||
DQN_STRING8("cmd"), DQN_STRING8("/C"), DQN_STRING8("emcc.bat"),
|
||||
DQN_STRING8("-o"), DQN_STRING8("feely_pona.html"),
|
||||
DQN_STRING8("-Os"), // Optimize for size
|
||||
// DQN_STRING8("-Os"), // Optimize for size
|
||||
DQN_STRING8("-Wall"),
|
||||
Dqn_FsPath_ConvertF(scratch.arena, "%.*s/%.*s", DQN_STRING_FMT(build_dir), DQN_STRING_FMT(raylib_emscripten_lib_name)),
|
||||
DQN_STRING8("-s"), DQN_STRING8("USE_GLFW=3"),
|
||||
|
Loading…
Reference in New Issue
Block a user