diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-07-23 06:57:11 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-07-23 06:57:11 +0800 |
commit | c6fad73657aaa07e439aab94f6349a173c06e1de (patch) | |
tree | cb3c9aa10c6b59a6f62276847abc4bf98e68031e /indra/llwindow/llwindowsdl.cpp | |
parent | e5044bc934c09ff24019a66caf0bbfd3bfc294ae (diff) |
Fix linking to c_dfDIJoystick error when on SDL
Copied from llwindowwin32.cpp.
Diffstat (limited to 'indra/llwindow/llwindowsdl.cpp')
-rw-r--r-- | indra/llwindow/llwindowsdl.cpp | 4 |
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 |