except: map the arguments to try_func through vk::native
This commit is contained in:
parent
6b3d259642
commit
fe6a28b99c
@ -56,11 +56,11 @@ namespace cruft::vk {
|
||||
VkResult
|
||||
>)
|
||||
{
|
||||
try_code (func (std::forward<Args> (args)...));
|
||||
try_code (func (maybe_native (args)...));
|
||||
return;
|
||||
}
|
||||
else
|
||||
return func (std::forward<Args> (args)...);
|
||||
return func (maybe_native (args)...);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user