mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Added NvOptimusEnablement.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user