Added NvOptimusEnablement.

This commit is contained in:
Camilla Berglund
2013-08-07 18:07:33 +02:00
parent a024e61bf8
commit 735bc2d815
4 changed files with 21 additions and 0 deletions
+9
View File
@@ -36,6 +36,15 @@
#endif // __BORLANDC__
#if defined(_GLFW_USE_OPTIMUS_HPG)
// Applications exporting this symbol with this value will be automatically
// directed to the high-performance GPU on nVidia Optimus systems
//
GLFWAPI DWORD NvOptimusEnablement = 0x00000001;
#endif // _GLFW_USE_OPTIMUS_HPG
#if defined(_GLFW_BUILD_DLL)
// GLFW DLL entry point