libcruft-vk/command_pool.cpp

15 lines
330 B
C++
Raw Normal View History

2016-02-24 11:11:41 +11:00
#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);
}