Add hack for Nvidia

This commit is contained in:
Petr Mrázek
2014-01-06 22:05:20 +01:00
parent 0a312d3b08
commit 267f18ca81
2 changed files with 9 additions and 1 deletions

8
Hacks.cpp Normal file
View File

@@ -0,0 +1,8 @@
#include "MultiMC.h"
#ifdef Q_OS_WIN32
extern "C"
{
__declspec(dllexport) uint32_t NvOptimusEnablement = 0x00000001;
}
#endif