mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[d3d8] Stub DebugSetMute to fix C&C:Generals performance
This commit is contained in:
parent
c8759418af
commit
44b682051b
@ -2,5 +2,5 @@ LIBRARY D3D8.DLL
|
||||
EXPORTS
|
||||
ValidatePixelShader @ 2
|
||||
ValidateVertexShader @ 3
|
||||
|
||||
DebugSetMute @ 4
|
||||
Direct3DCreate8 @ 5
|
||||
|
@ -2,6 +2,7 @@
|
||||
global:
|
||||
ValidatePixelShader;
|
||||
ValidateVertexShader;
|
||||
DebugSetMute;
|
||||
Direct3DCreate8;
|
||||
|
||||
local:
|
||||
|
@ -51,6 +51,10 @@ extern "C" {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
DLLEXPORT void __stdcall DebugSetMute() {
|
||||
dxvk::Logger::debug("D3D8: DebugSetMute: Stub");
|
||||
}
|
||||
|
||||
DLLEXPORT IDirect3D8* __stdcall Direct3DCreate8(UINT nSDKVersion) {
|
||||
IDirect3D8* pDirect3D = nullptr;
|
||||
dxvk::CreateD3D8(&pDirect3D);
|
||||
|
Loading…
Reference in New Issue
Block a user