mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Hide internals behind TracyVkCtx typedef.
This commit is contained in:
parent
070888f80d
commit
a95e8a5424
@ -16,10 +16,7 @@
|
||||
#define TracyVkZoneS(c,x,y,z)
|
||||
#define TracyVkZoneCS(c,x,y,z,w)
|
||||
|
||||
namespace tracy
|
||||
{
|
||||
class VkCtx {};
|
||||
}
|
||||
using TracyVkCtx = void*;
|
||||
|
||||
#else
|
||||
|
||||
@ -296,6 +293,8 @@ static inline void DestroyVkContext( VkCtx* ctx )
|
||||
|
||||
}
|
||||
|
||||
using TracyVkCtx = tracy::VkCtx*;
|
||||
|
||||
#define TracyVkContext( physdev, device, queue, cmdbuf ) tracy::CreateVkContext( physdev, device, queue, cmdbuf );
|
||||
#define TracyVkDestroy( ctx ) tracy::DestroyVkContext( ctx );
|
||||
#if defined TRACY_HAS_CALLSTACK && defined TRACY_CALLSTACK
|
||||
|
Loading…
Reference in New Issue
Block a user