Implement X_D3DRS_MULTISAMPLETYPE

This commit is contained in:
Silent 2020-10-08 21:05:28 +02:00
parent 7767250624
commit 190ef8c3d5
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1
1 changed files with 5 additions and 0 deletions

View File

@ -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) {