libcruft-vk/command_pool.cpp
2016-02-24 11:11:41 +11:00

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);
}