1 parent 4dc77a8 commit b56d5bdCopy full SHA for b56d5bd
1 file changed
src/win/win_helpers.h
@@ -1,6 +1,7 @@
1
#pragma once
2
3
#include <Windows.h>
4
+#include "gpu/gpu_state.h"
5
6
// Tray constants
7
constexpr UINT WM_TRAY = WM_USER + 1;
@@ -11,10 +12,12 @@ constexpr UINT ID_EXIT = 1002;
11
12
constexpr UINT ID_TOGGLE_RENDER_GPU = 2001;
13
constexpr UINT ID_RESTART_GPU_DRIVER = 2002;
14
-// Provided by main.cpp
15
-extern bool g_forceRenderGpu;
+// Globals from main.cpp
16
+extern GpuState g_displayGpuState;
17
+extern GpuState g_renderGpuState;
18
+extern bool g_forceRenderGpu;
19
20
+// Refresh function from main.cpp
21
void RefreshGpuState(HWND hwnd);
22
23
// Window procedure
0 commit comments