We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9483205 commit 74d1f49Copy full SHA for 74d1f49
1 file changed
src/STDInclude.cpp
@@ -5,6 +5,16 @@
5
6
extern "C"
7
{
8
+ // Enable 'High Performance Graphics'.
9
+ //
10
+ // Official documentation states that this mechanism is not supported when
11
+ // invoked from a DLL. Turn out that in practice, user reports and field
12
+ // testing indicate that it does actually take effect and is in fact required
13
+ // for hybrid (Optimus) system. We therefore enable it here despite the
14
+ // documented limitation.
15
16
+ __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
17
+
18
// Libtommath random-source stubs.
19
//
20
// The library probes for a small set of platform RNG providers. On Windows
0 commit comments