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:
parent
023c098506
commit
adfd4427c3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user