1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-02-22 22:42:49 +01:00

#15 add hint to the driver to use discrete GPU

This commit is contained in:
XProger 2018-06-21 06:19:16 +03:00
parent 023c098506
commit adfd4427c3

View File

@ -22,6 +22,14 @@
// TODO: add IK for arms
// TODO: controls
// hint to the driver to use discrete GPU
extern "C" {
// NVIDIA
__declspec(dllexport) int NvOptimusEnablement = 1;
// AMD
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}
#ifdef VR_SUPPORT
#include "libs/openvr/openvr.h"
#endif