summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-05-27 12:16:42 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-05-27 12:16:42 +0200
commitf33ffeda343b1496818c6dfe96bc8f2b5a4fb6a3 (patch)
tree5ef01dbafd82a25ec968097857c586e7e5e37b9a /3rdparty
parenta163b2827775c215703723e0e3ab94aab63d359f (diff)
Fix mingw compile (nw)
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/bgfx/src/renderer_d3d11.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/3rdparty/bgfx/src/renderer_d3d11.cpp b/3rdparty/bgfx/src/renderer_d3d11.cpp
index efcf1468a9e..eb8e3aa1137 100644
--- a/3rdparty/bgfx/src/renderer_d3d11.cpp
+++ b/3rdparty/bgfx/src/renderer_d3d11.cpp
@@ -3684,6 +3684,12 @@ BX_PRAGMA_DIAGNOSTIC_POP();
{
m_control.consume(1);
+ struct D3D11_QUERY_DATA_TIMESTAMP_DISJOINT
+ {
+ UINT64 Frequency;
+ BOOL Disjoint;
+ };
+
D3D11_QUERY_DATA_TIMESTAMP_DISJOINT disjoint;
deviceCtx->GetData(frame.m_disjoint, &disjoint, sizeof(disjoint), 0);