/* * This software is licensed under the terms of the MIT-License * See COPYING for further information. * --- * Copyright (c) 2011-2018, Lukas Weber . * Copyright (c) 2012-2018, Andrei Alexeyev . */ #include "taisei.h" #include /* * This is here for Windows laptops with hybrid graphics. * We tell the driver to prefer the fast GPU over the integrated one by default. */ // Nvidia: // http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; // AMD: // https://community.amd.com/thread/169965 // https://stackoverflow.com/questions/17458803/amd-equivalent-to-nvoptimusenablement __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;