Skip to content

Commit

Permalink
vkd3d: Print build commit using a fixed width format.
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Bogacki <[email protected]>
  • Loading branch information
Saancreed committed Jun 17, 2024
1 parent 74ba32a commit 2681309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vkd3d/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ static HRESULT vkd3d_instance_init(struct vkd3d_instance *instance,
application_info.engineVersion = vkd3d_get_vk_version();
application_info.apiVersion = loader_version;

INFO("vkd3d-proton - build: %"PRIx64".\n", vkd3d_build);
INFO(vkd3d_build < (1ull << 60) ? "vkd3d-proton - build: %015"PRIx64".\n" : "vkd3d-proton - build: %016"PRIx64".\n", vkd3d_build);

if (vkd3d_get_program_name(application_name))
application_info.pApplicationName = application_name;
Expand Down

0 comments on commit 2681309

Please sign in to comment.