dependent function ordering

This commit is contained in:
Marcos Slomp
2026-05-04 16:18:00 -07:00
parent dbb17e50e3
commit 3d6129f8b0
+7 -6
View File
@@ -664,6 +664,13 @@ namespace tracy
}
};
static inline void DestroyD3D12Context(D3D12QueueCtx* ctx)
{
TracyD3D12Assert(ctx);
ctx->~D3D12QueueCtx();
tracy_free(ctx);
}
static inline D3D12QueueCtx* CreateD3D12Context(ID3D12Device* device, ID3D12CommandQueue* queue)
{
auto* ctx = static_cast<D3D12QueueCtx*>(tracy_malloc(sizeof(D3D12QueueCtx)));
@@ -677,12 +684,6 @@ namespace tracy
return ctx;
}
static inline void DestroyD3D12Context(D3D12QueueCtx* ctx)
{
ctx->~D3D12QueueCtx();
tracy_free(ctx);
}
}
#undef TracyD3D12Panic