mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 04:24:11 +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
|
EXPORTS
|
||||||
ValidatePixelShader @ 2
|
ValidatePixelShader @ 2
|
||||||
ValidateVertexShader @ 3
|
ValidateVertexShader @ 3
|
||||||
|
DebugSetMute @ 4
|
||||||
Direct3DCreate8 @ 5
|
Direct3DCreate8 @ 5
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
global:
|
global:
|
||||||
ValidatePixelShader;
|
ValidatePixelShader;
|
||||||
ValidateVertexShader;
|
ValidateVertexShader;
|
||||||
|
DebugSetMute;
|
||||||
Direct3DCreate8;
|
Direct3DCreate8;
|
||||||
|
|
||||||
local:
|
local:
|
||||||
|
@ -51,6 +51,10 @@ extern "C" {
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DLLEXPORT void __stdcall DebugSetMute() {
|
||||||
|
dxvk::Logger::debug("D3D8: DebugSetMute: Stub");
|
||||||
|
}
|
||||||
|
|
||||||
DLLEXPORT IDirect3D8* __stdcall Direct3DCreate8(UINT nSDKVersion) {
|
DLLEXPORT IDirect3D8* __stdcall Direct3DCreate8(UINT nSDKVersion) {
|
||||||
IDirect3D8* pDirect3D = nullptr;
|
IDirect3D8* pDirect3D = nullptr;
|
||||||
dxvk::CreateD3D8(&pDirect3D);
|
dxvk::CreateD3D8(&pDirect3D);
|
||||||
|
Loading…
Reference in New Issue
Block a user