diff options
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index 6d3b34b0785..b0d0b1a5b5d 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -106,6 +106,11 @@ static int is_crappy_intel_card(void) return is_crappy; } +/* force NVidia Optimus to used dedicated graphics */ +extern "C" { + __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; +} + GHOST_WindowWin32::GHOST_WindowWin32( GHOST_SystemWin32 *system, const STR_String& title, |