Commit 5c6992dc authored by D-AIRY's avatar D-AIRY

Added driver hint to use discrete gpu on dual-gpu systems

parent b3438b9f
Subproject commit f1a3bc115a4137b6fd29e9a12450a8c08a97bc22
Subproject commit 317adf26851044423c0cffefb3cfd0a43e2a7cd4
......@@ -292,7 +292,7 @@ QT стиль документирования (!) и QT_AUTOBRIEF - корот
#ifndef __SKYXENGINE_H
#define __SKYXENGINE_H
#define SKYXENGINE_VERSION "X.3.2-dev"
#define SKYXENGINE_VERSION "X.3.3-dev"
#define SKYXENGINE_VERSION4EDITORS "SkyXEngine version " ## SKYXENGINE_VERSION
......
......@@ -20,6 +20,8 @@ See the license in LICENSE
# pragma comment(lib, "xEngine.lib")
#endif
GX_ENABLE_HIGH_PERFORMANCE_DUAL_GPU();
class CWindowCallback: public IXWindowCallback
{
public:
......@@ -128,7 +130,6 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLin
int main(int argc, char **argv)
{
#endif
IXEngine *pEngine = XEngineInit(argc, argv, "build");
INIT_OUTPUT_STREAM(pEngine->getCore());
......
......@@ -31,6 +31,8 @@ See the license in LICENSE
# pragma comment(lib, "xEngine.lib")
#endif
GX_ENABLE_HIGH_PERFORMANCE_DUAL_GPU();
extern HWND g_hWndMain;
CGrid *g_pGrid = NULL;
CTerraXRenderStates g_xRenderStates;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment