summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowsdl.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-08-08 06:56:08 +0800
committerErik Kundiman <erik@megapahit.org>2025-08-08 06:56:08 +0800
commit3b776461127f193298018cbe1bbeb92478cca485 (patch)
treea29eae4a01e9b5d44eb794be0acb3138ee6db35f /indra/llwindow/llwindowsdl.cpp
parent59ac767bd43027ce6fc132c1f09aea4af4c1f85f (diff)
parent9dee879a8b3b904f4332d3cacfe110615a217681 (diff)
Merge branch 'main' into 2025.06
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 69332e36b6..1f9a841032 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