Skip to content
Snippets Groups Projects
Commit ea7951ed authored by DarkGod's avatar DarkGod
Browse files

try and force using actual GPUs in dual GPU setups

parent 030e4407
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,12 @@
#define WINDOW_ICON_PATH ("/engines/default/data/gfx/te4-icon.png")
#define JOY_DEADZONE 0.21
#ifdef SELFEXE_WINDOWS
// Force nvidia optimus and amd equivalent to use the real GPU instead of the intel crappy one
__declspec( dllexport ) DWORD NvOptimusEnablement = 0x00000001;
__declspec( dllexport ) int AmdPowerXpressRequestHighPerformance = 1;
#endif
int start_xpos = -1, start_ypos = -1;
bool ignore_window_change_pos = FALSE;
char *override_home = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment