except: map the arguments to try_func through vk::native

This commit is contained in:
Danny Robson 2017-09-14 02:14:06 +10:00
parent 6b3d259642
commit fe6a28b99c

View File

@ -56,11 +56,11 @@ namespace cruft::vk {
VkResult VkResult
>) >)
{ {
try_code (func (std::forward<Args> (args)...)); try_code (func (maybe_native (args)...));
return; return;
} }
else else
return func (std::forward<Args> (args)...); return func (maybe_native (args)...);
} }