|
@@ -84,6 +84,11 @@ static int throw_handler( int code ) {
|
|
}
|
|
}
|
|
return EXCEPTION_CONTINUE_SEARCH;
|
|
return EXCEPTION_CONTINUE_SEARCH;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+// this allows some runtime detection to switch to high performance mode
|
|
|
|
+__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
|
|
|
+__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
|
|
|
+
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#ifdef HL_WIN
|
|
#ifdef HL_WIN
|