initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#include <iostream>
|
||||
//#include "../../HydraEngine/Hydra.h"
|
||||
#include "HydraGame.h"
|
||||
|
||||
|
||||
#include <memory>
|
||||
|
||||
#ifdef _WIN32
|
||||
extern "C" {
|
||||
// Forces NVIDIA Optimus to activate the dGPU
|
||||
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
|
||||
// Forces AMD PowerXpress/Enduro to activate the dGPU
|
||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
HydraGame* game = new HydraGame();
|
||||
HydraEngine* engine = HydraEngine::GetInstance();
|
||||
engine->InitialiseGame(game);
|
||||
engine->Start();
|
||||
delete game;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user