Skip to content

Commit 4d5e1f8

Browse files
vulkaninfo: Use Object in video props vkconfig output
1 parent 42c5453 commit 4d5e1f8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

vulkaninfo/vulkaninfo.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ void GpuDumpVideoProfiles(Printer &p, AppGpu &gpu, bool show_video_props) {
663663
for (const auto &video_formats_it : video_profile->formats_by_category) {
664664
const auto &video_format_category_name = video_formats_it.first;
665665
const auto &video_format_props = video_formats_it.second;
666-
ArrayWrapper video_format_category(p, video_format_category_name, video_format_props.size());
666+
ObjectWrapper video_format_category(p, video_format_category_name, video_format_props.size());
667667
for (size_t i = 0; i < video_format_props.size(); ++i) {
668668
ObjectWrapper video_format_obj(p, video_format_category_name + " Format #" + std::to_string(i + 1));
669669
p.SetSubHeader();
@@ -879,9 +879,7 @@ void PrintProfileBaseInfo(Printer &p, const std::string &device_name, uint32_t a
879879
p.PrintKeyString("api-version", APIVersion(apiVersion).str());
880880
p.PrintKeyString("label", device_label);
881881
p.PrintKeyString("description", std::string("Exported from ") + APP_SHORT_NAME);
882-
{
883-
ObjectWrapper contributors(p, "contributors");
884-
}
882+
{ ObjectWrapper contributors(p, "contributors"); }
885883
{
886884
ArrayWrapper contributors(p, "history");
887885
ObjectWrapper element(p, "");

0 commit comments

Comments
 (0)