Code cleanup
Fixes some C++2X deprecation warnings
This commit is contained in:
parent
878dbc2987
commit
f735a89518
2 changed files with 5 additions and 6 deletions
|
|
@ -334,8 +334,7 @@ void VulkanExampleBase::renderLoop()
|
|||
if (wl_display_dispatch_pending(display) == -1)
|
||||
return;
|
||||
#endif
|
||||
|
||||
benchmark.run([=] { render(); }, vulkanDevice->properties);
|
||||
benchmark.run([=, this] { render(); }, vulkanDevice->properties);
|
||||
vkDeviceWaitIdle(device);
|
||||
if (!benchmark.filename.empty()) {
|
||||
benchmark.saveResults();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue