From 190ef8c3d5b7627e0bc7f50904c4ebdeca1a13c7 Mon Sep 17 00:00:00 2001 From: Silent Date: Thu, 8 Oct 2020 21:05:28 +0200 Subject: [PATCH] Implement X_D3DRS_MULTISAMPLETYPE --- src/core/hle/D3D8/Direct3D9/RenderStates.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/hle/D3D8/Direct3D9/RenderStates.cpp b/src/core/hle/D3D8/Direct3D9/RenderStates.cpp index 71782cc0d..7014acb85 100644 --- a/src/core/hle/D3D8/Direct3D9/RenderStates.cpp +++ b/src/core/hle/D3D8/Direct3D9/RenderStates.cpp @@ -32,6 +32,8 @@ #include "core/hle/D3D8/Direct3D9/Direct3D9.h" // For g_pD3DDevice #include "core/hle/D3D8/XbConvert.h" +void SetXboxMultiSampleType(xbox::X_D3DMULTISAMPLE_TYPE value); + bool XboxRenderStateConverter::Init() { if (g_SymbolAddresses.find("D3DDeferredRenderState") != g_SymbolAddresses.end()) { @@ -457,6 +459,9 @@ void XboxRenderStateConverter::ApplyComplexRenderState(uint32_t State, uint32_t case xbox::X_D3DRS_MULTISAMPLEANTIALIAS: case xbox::X_D3DRS_MULTISAMPLEMASK: break; + case xbox::X_D3DRS_MULTISAMPLETYPE: + SetXboxMultiSampleType(Value); + break; default: // Only log missing state if it has a PC counterpart if (RenderStateInfo.PC != 0) {