mirror of
https://github.com/XProger/OpenLara.git
synced 2025-02-23 06:53:00 +01:00
#15 add hint to the driver to use discrete GPU
This commit is contained in:
parent
023c098506
commit
adfd4427c3
@ -22,6 +22,14 @@
|
|||||||
// TODO: add IK for arms
|
// TODO: add IK for arms
|
||||||
// TODO: controls
|
// 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
|
#ifdef VR_SUPPORT
|
||||||
#include "libs/openvr/openvr.h"
|
#include "libs/openvr/openvr.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user