1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-07 07:54:15 +01:00

[d3d8] Address the MultiSampleQuality usage

This commit is contained in:
WinterSnowfall 2025-01-10 20:54:11 +02:00 committed by Robin Kertels
parent 4184452f49
commit b61ea1db76
2 changed files with 4 additions and 3 deletions

View File

@ -75,7 +75,8 @@ namespace dxvk {
params.BackBufferCount = pParams->BackBufferCount;
params.MultiSampleType = d3d9::D3DMULTISAMPLE_TYPE(pParams->MultiSampleType);
params.MultiSampleQuality = 0; // (D3D8: no MultiSampleQuality), TODO: get a value for this
// MultiSampleQuality is only used with D3DMULTISAMPLE_NONMASKABLE, which is not available in D3D8
params.MultiSampleQuality = 0;
UINT PresentationInterval = pParams->FullScreen_PresentationInterval;

View File

@ -476,7 +476,7 @@ namespace dxvk {
Height,
d3d9::D3DFORMAT(Format),
d3d9::D3DMULTISAMPLE_TYPE(MultiSample),
0, // TODO: CreateRenderTarget MultisampleQuality
0,
Lockable,
&pSurf9,
NULL);
@ -509,7 +509,7 @@ namespace dxvk {
Height,
d3d9::D3DFORMAT(Format),
d3d9::D3DMULTISAMPLE_TYPE(MultiSample),
0, // TODO: CreateDepthStencilSurface MultisampleQuality
0,
true, // TODO: CreateDepthStencilSurface Discard
&pSurf9,
NULL);