mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- [Psy-X] defining AMD PowerXpress and Nvidia Optimus exports for Windows
This commit is contained in:
parent
3d65ed06a3
commit
afd2c1dca8
@ -8,6 +8,15 @@
|
|||||||
|
|
||||||
#include "PSYX_GLOBALS.H"
|
#include "PSYX_GLOBALS.H"
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <windows.h>
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||||
|
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||||
|
}
|
||||||
|
#endif //def WIN32
|
||||||
|
|
||||||
#define USE_PBO 1
|
#define USE_PBO 1
|
||||||
#define USE_OFFSCREEN_BLIT 1
|
#define USE_OFFSCREEN_BLIT 1
|
||||||
#define USE_FRAMEBUFFER_BLIT 1
|
#define USE_FRAMEBUFFER_BLIT 1
|
||||||
|
Loading…
Reference in New Issue
Block a user