mirror of
https://github.com/Cxbx-Reloaded/Cxbx-Reloaded.git
synced 2024-05-31 19:18:05 -04:00
6 lines
237 B
C
6 lines
237 B
C
#include <Windows.h>
|
|
|
|
// Default to High Performance Mode on machines with dual graphics
|
|
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; // AMD
|
|
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; // NVIDIA
|