Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2020-12-21 18:13:59 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2020-12-21 18:13:59 +0300
commitdab68b2f21951d5617f7b2e7bb2a410e0cf10831 (patch)
treee1f3eadd20c163be63ba9979d5a1f1ae162a6767
parent063ad1f1d341f634d13a40416fa52dd807f9d28b (diff)
Manually initialize GUID structs.
-rw-r--r--client/TracySysTrace.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/client/TracySysTrace.cpp b/client/TracySysTrace.cpp
index 5ac945aa..f4aa6cb3 100644
--- a/client/TracySysTrace.cpp
+++ b/client/TracySysTrace.cpp
@@ -26,11 +26,8 @@
namespace tracy
{
-struct __declspec(uuid("{ce1dbfb4-137e-4da6-87b0-3f59aa102cbc}")) PERFINFOGUID;
-static const auto PerfInfoGuid = __uuidof(PERFINFOGUID);
-
-struct __declspec(uuid("{802EC45A-1E99-4B83-9920-87C98277BA9D}")) DXGKRNLGUID;
-static const auto DxgKrnlGuid = __uuidof(DXGKRNLGUID);
+static const GUID PerfInfoGuid = { 0xce1dbfb4, 0x137e, 0x4da6, { 0x87, 0xb0, 0x3f, 0x59, 0xaa, 0x10, 0x2c, 0xbc } };
+static const GUID DxgKrnlGuid = { 0x802ec45a, 0x1e99, 0x4b83, { 0x99, 0x20, 0x87, 0xc9, 0x82, 0x77, 0xba, 0x9d } };
static TRACEHANDLE s_traceHandle;