blob: db70f9fdc3755db3c84b96c0282cb83166dbb727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --git a/src/gpu_info_util/SystemInfo_win.cpp b/src/gpu_info_util/SystemInfo_win.cpp
index 878f0f5..2255982 100644
--- a/src/gpu_info_util/SystemInfo_win.cpp
+++ b/src/gpu_info_util/SystemInfo_win.cpp
@@ -4,6 +4,12 @@
// found in the LICENSE file.
//
+// Windows.h needs to be included first
+#include <windows.h>
+
+#include <d3d10.h>
+#include <dxgi.h>
+
// SystemInfo_win.cpp: implementation of the Windows-specific parts of SystemInfo.h
#include "gpu_info_util/SystemInfo_internal.h"
@@ -11,12 +17,6 @@
#include "common/debug.h"
#include "common/string_utils.h"
-// Windows.h needs to be included first
-#include <windows.h>
-
-#include <d3d10.h>
-#include <dxgi.h>
-
#include <array>
#include <sstream>
|