We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c0e54 commit 8a00f2dCopy full SHA for 8a00f2d
src/util/windows/nt.h
@@ -175,7 +175,13 @@ typedef struct _D3DKMT_QUERYSTATISTICS
175
D3DKMT_QUERYSTATISTICS_QUERY_NODE2 QueryNode2; // in: id of node to get statistics for
176
};
177
} D3DKMT_QUERYSTATISTICS;
178
-static_assert(sizeof(D3DKMT_QUERYSTATISTICS) == 0x328, "D3DKMT_QUERYSTATISTICS structure size mismatch");
+static_assert(sizeof(D3DKMT_QUERYSTATISTICS) ==
179
+ #if _WIN64
180
+ 0x328
181
+ #else
182
+ 0x320
183
+ #endif
184
+, "D3DKMT_QUERYSTATISTICS structure size mismatch");
185
EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTQueryStatistics(_In_ CONST D3DKMT_QUERYSTATISTICS*);
186
187
#define DXGK_MAX_METADATA_NAME_LENGTH 32
0 commit comments