Skip to content

Commit

Permalink
layer: Fix warning on printf
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Dec 20, 2023
1 parent 3a97ba3 commit b1879a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layer/VkLayer_FROG_gamescope_wsi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ namespace GamescopeWSILayer {
nits_to_u16(metadata.maxContentLightLevel),
nits_to_u16(metadata.maxFrameAverageLightLevel));

fprintf(stderr, "[Gamescope WSI] VkHdrMetadataEXT: display primaries:\n", metadata.minLuminance, metadata.maxLuminance);
fprintf(stderr, "[Gamescope WSI] VkHdrMetadataEXT: display primaries:\n");
fprintf(stderr, " r: %.4g %.4g\n", metadata.displayPrimaryRed.x, metadata.displayPrimaryRed.y);
fprintf(stderr, " g: %.4g %.4g\n", metadata.displayPrimaryGreen.x, metadata.displayPrimaryGreen.y);
fprintf(stderr, " b: %.4g %.4g\n", metadata.displayPrimaryBlue.x, metadata.displayPrimaryBlue.y);
Expand Down

0 comments on commit b1879a3

Please sign in to comment.