15 lines
330 B
C++
15 lines
330 B
C++
|
#include "./command_pool.hpp"
|
||
|
|
||
|
#include "./device.hpp"
|
||
|
|
||
|
using vk::command_pool;
|
||
|
|
||
|
|
||
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
void
|
||
|
command_pool::reset (const device &dev, VkCommandPoolResetFlags flags)
|
||
|
{
|
||
|
auto err = vkResetCommandPool (dev.id (), id (), flags);
|
||
|
error::try_code (err);
|
||
|
}
|