HLE : Implemented D3DDevice_SetRenderState_EdgeAntiAlias.

Not very unimportant, but someone might want to cherry-pick this.
This commit is contained in:
PatrickvL 2019-01-10 17:52:38 +01:00
parent 0a9ce9e46c
commit 95bb641b7e
1 changed files with 3 additions and 5 deletions

View File

@ -5999,11 +5999,9 @@ VOID WINAPI XTL::EMUPATCH(D3DDevice_SetRenderState_EdgeAntiAlias)
XB_trampoline(VOID, WINAPI, D3DDevice_SetRenderState_EdgeAntiAlias, (DWORD));
XB_D3DDevice_SetRenderState_EdgeAntiAlias(Value);
// TODO: Analyze performance and compatibility (undefined behavior on PC with triangles or points)
// HRESULT hRet = g_pD3DDevice->SetRenderState(D3DRS_EDGEANTIALIAS, Value);
// DEBUG_D3DRESULT(hRet, "g_pD3DDevice->SetRenderState");
LOG_UNIMPLEMENTED();
// TODO: Analyze performance and compatibility (undefined behavior on PC with triangles or points)
HRESULT hRet = g_pD3DDevice->SetRenderState(D3DRS_ANTIALIASEDLINEENABLE, Value); // Was D3DRS_EDGEANTIALIAS (no longer exists)
DEBUG_D3DRESULT(hRet, "g_pD3DDevice->SetRenderState");
}
// ******************************************************************