Browse Source

doc: this is hidden anyway, so it can be NoCreate as well.

pull/234/head
Vladimír Vondruš 6 years ago
parent
commit
cacd2e9c69
  1. 3
      doc/snippets/MagnumVk.cpp

3
doc/snippets/MagnumVk.cpp

@ -64,7 +64,6 @@ info->pNext = &validationFeatures;
} }
{ {
Vk::Instance instance;
/* [CommandPool-usage] */ /* [CommandPool-usage] */
Vk::Device device{DOXYGEN_IGNORE(NoCreate)}; Vk::Device device{DOXYGEN_IGNORE(NoCreate)};
@ -125,7 +124,7 @@ DOXYGEN_IGNORE()
Vk::Instance instance; Vk::Instance instance;
VkQueryPool pool{}; VkQueryPool pool{};
/* [Device-function-pointers] */ /* [Device-function-pointers] */
Vk::Device device{DOXYGEN_IGNORE(instance, Vk::DeviceCreateInfo{Vk::pickDevice(instance)})}; Vk::Device device{DOXYGEN_IGNORE(NoCreate)};
// ... // ...
device->ResetQueryPoolEXT(device, DOXYGEN_IGNORE(pool, 0, 0)); device->ResetQueryPoolEXT(device, DOXYGEN_IGNORE(pool, 0, 0));

Loading…
Cancel
Save