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
ee14204ced
commit
b49cd06876
@ -1,6 +1,8 @@
|
||||
LIBRARY ddraw.dll
|
||||
|
||||
EXPORTS
|
||||
DirectDrawCreate @1
|
||||
DirectDrawEnumerateA @2
|
||||
GameHandlesClose DATA
|
||||
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