mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
Forces Nvidia and AMD high performance graphics.
This commit is contained in:
parent
909c78e84d
commit
4506b00863
@ -4,3 +4,5 @@ EXPORTS
|
||||
DirectDrawCreate @1
|
||||
DirectDrawEnumerateA @2
|
||||
GameHandlesClose DATA
|
||||
NvOptimusEnablement DATA
|
||||
AmdPowerXpressRequestHighPerformance DATA
|
||||
|
@ -48,6 +48,8 @@ int WindowState = -1;
|
||||
BOOL Direct3D9Active;
|
||||
BOOL GameHandlesClose;
|
||||
BOOL ChildWindowExists;
|
||||
DWORD NvOptimusEnablement = 1;
|
||||
DWORD AmdPowerXpressRequestHighPerformance = 1;
|
||||
|
||||
//BOOL WINAPI DllMainCRTStartup(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
|
||||
BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
|
||||
|
Loading…
x
Reference in New Issue
Block a user