summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowsdl.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-07-29 07:04:30 +0800
committerErik Kundiman <erik@megapahit.org>2025-07-29 07:04:50 +0800
commit2ec9d7fa779456112f36e963d1e169a71149662a (patch)
treed1b8282465b30cc67b60b5453b759b3405bf9a31 /indra/llwindow/llwindowsdl.cpp
parent863e56d24c06e055d3ba4695422b604cbcd46350 (diff)
parentb7d33485406150bf466f61477cfd33d9bdacb705 (diff)
Merge branch 'main' into 2025.05
Diffstat (limited to 'indra/llwindow/llwindowsdl.cpp')
-rw-r--r--indra/llwindow/llwindowsdl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp
index b733ee9015..0a117be1fc 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -106,6 +106,10 @@ bool hasHIDPI = 0;
# include <X11/Xutil.h>
#endif //LL_X11
+#if LL_WINDOWS && !LL_MESA_HEADLESS
+#pragma comment(lib, "dinput8")
+#endif
+
// TOFU HACK -- (*exactly* the same hack as LLWindowMacOSX for a similar
// set of reasons): Stash a pointer to the LLWindowSDL object here and
// maintain in the constructor and destructor. This assumes that there will