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;
|
cruft::vk::instance instance;
|
||||||
|
|
||||||
os << "[ "
|
return os << "{ available_layers: [ "
|
||||||
<< "available_layers: [ "
|
|
||||||
<< cruft::iterator::make_infix (cruft::vk::instance::available_layers ())
|
<< cruft::iterator::make_infix (cruft::vk::instance::available_layers ())
|
||||||
<< " ] }"
|
<< " ]"
|
||||||
<< ", instance: " << instance
|
<< ", instance: " << instance
|
||||||
<< ", devices: [ " << cruft::iterator::make_infix (cruft::vk::physical_device::find (instance)) << " ], "
|
<< ", devices: [ "
|
||||||
<< " } ]\n";
|
<< cruft::iterator::make_infix (cruft::vk::physical_device::find (instance)) << " ]"
|
||||||
|
<< ", }";
|
||||||
return os;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user