diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-06 22:05:20 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-06 22:05:45 +0100 |
commit | 267f18ca814cbe96e9581dfbf79b744543d1e8b8 (patch) | |
tree | 3b10950bf479e43cdb023932a5975fe5f98f28f9 /Hacks.cpp | |
parent | 0a312d3b08a40d51acc1952df3ed2f0348f4aa5e (diff) | |
download | MultiMC-267f18ca814cbe96e9581dfbf79b744543d1e8b8.tar MultiMC-267f18ca814cbe96e9581dfbf79b744543d1e8b8.tar.gz MultiMC-267f18ca814cbe96e9581dfbf79b744543d1e8b8.tar.lz MultiMC-267f18ca814cbe96e9581dfbf79b744543d1e8b8.tar.xz MultiMC-267f18ca814cbe96e9581dfbf79b744543d1e8b8.zip |
Add hack for Nvidia
Diffstat (limited to 'Hacks.cpp')
-rw-r--r-- | Hacks.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Hacks.cpp b/Hacks.cpp new file mode 100644 index 00000000..3c3d8191 --- /dev/null +++ b/Hacks.cpp @@ -0,0 +1,8 @@ +#include "MultiMC.h" + +#ifdef Q_OS_WIN32 +extern "C" +{ +__declspec(dllexport) uint32_t NvOptimusEnablement = 0x00000001; +} +#endif |