meta/info: correctly balance some braces in JSON output
This commit is contained in:
parent
91cc9ea3fe
commit
c4b7e2bf72
@ -29,13 +29,11 @@ cruft::vk::meta::operator<< (std::ostream &os, info const &)
|
||||
{
|
||||
cruft::vk::instance instance;
|
||||
|
||||
os << "[ "
|
||||
<< "available_layers: [ "
|
||||
return os << "{ available_layers: [ "
|
||||
<< cruft::iterator::make_infix (cruft::vk::instance::available_layers ())
|
||||
<< " ] }"
|
||||
<< " ]"
|
||||
<< ", instance: " << instance
|
||||
<< ", devices: [ " << cruft::iterator::make_infix (cruft::vk::physical_device::find (instance)) << " ], "
|
||||
<< " } ]\n";
|
||||
|
||||
return os;
|
||||
<< ", devices: [ "
|
||||
<< cruft::iterator::make_infix (cruft::vk::physical_device::find (instance)) << " ]"
|
||||
<< ", }";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user