mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
This is supposed to enable the discrete GPU on NVIDIA Optimus and AMD PowerXpress setups
git-svn-id: https://svn.eduke32.com/eduke32@6826 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
84183c439b
commit
f41dc7b9c4
1 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,14 @@
|
||||||
#include "polymost.h"
|
#include "polymost.h"
|
||||||
#include "cache1d.h"
|
#include "cache1d.h"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 0x00000001;
|
||||||
|
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||||
|
}
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
// input
|
// input
|
||||||
char inputdevices=0;
|
char inputdevices=0;
|
||||||
char keystatus[KEYSTATUSSIZ], keyfifo[KEYFIFOSIZ], keyasciififo[KEYFIFOSIZ];
|
char keystatus[KEYSTATUSSIZ], keyfifo[KEYFIFOSIZ], keyasciififo[KEYFIFOSIZ];
|
||||||
|
|
Loading…
Reference in a new issue