Update StarClientApplication.cpp

This commit is contained in:
Kae 2024-03-05 16:22:13 +11:00
parent 9ae14a3d0b
commit 79cd235939

View File

@ -22,6 +22,12 @@
#include "StarInputLuaBindings.hpp" #include "StarInputLuaBindings.hpp"
#include "StarVoiceLuaBindings.hpp" #include "StarVoiceLuaBindings.hpp"
#if defined STAR_SYSTEM_WINDOWS
#include <windows.h>
extern "C" __declspec(dllexport) DWORD NvOptimusEnablement = 1;
extern "C" __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
#endif // graphics driver is told by these exports to default to the dedicated GPU
namespace Star { namespace Star {
Json const AdditionalAssetsSettings = Json::parseJson(R"JSON( Json const AdditionalAssetsSettings = Json::parseJson(R"JSON(