diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2025-04-20 09:10:36 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2025-06-04 21:30:59 +0200 |
| commit | e3df00b7f41c271bef5413a12247e8c056e2ae71 (patch) | |
| tree | 12f914a4dfdac383db2281f6f347c526046a2378 /Source/Core/DolphinNoGUI/PlatformWin32.cpp | |
| parent | 71da0f2d24f5233c643347a72ed695f72cd68489 (diff) | |
DolphinNoGUI: Make variables constexpr
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/PlatformWin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp index c78c563d5d..b1bdfa022c 100644 --- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp +++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp @@ -185,7 +185,7 @@ LRESULT PlatformWin32::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam if (hwnd) { // Remove rounded corners from the render window on Windows 11 - const DWM_WINDOW_CORNER_PREFERENCE corner_preference = DWMWCP_DONOTROUND; + constexpr DWM_WINDOW_CORNER_PREFERENCE corner_preference = DWMWCP_DONOTROUND; DwmSetWindowAttribute(hwnd, DWMWA_WINDOW_CORNER_PREFERENCE, &corner_preference, sizeof(corner_preference)); } |
