mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d8] Address the MultiSampleQuality usage
This commit is contained in:
parent
4184452f49
commit
b61ea1db76
2 changed files with 4 additions and 3 deletions
|
@ -75,7 +75,8 @@ namespace dxvk {
|
||||||
params.BackBufferCount = pParams->BackBufferCount;
|
params.BackBufferCount = pParams->BackBufferCount;
|
||||||
|
|
||||||
params.MultiSampleType = d3d9::D3DMULTISAMPLE_TYPE(pParams->MultiSampleType);
|
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;
|
UINT PresentationInterval = pParams->FullScreen_PresentationInterval;
|
||||||
|
|
||||||
|
|
|
@ -476,7 +476,7 @@ namespace dxvk {
|
||||||
Height,
|
Height,
|
||||||
d3d9::D3DFORMAT(Format),
|
d3d9::D3DFORMAT(Format),
|
||||||
d3d9::D3DMULTISAMPLE_TYPE(MultiSample),
|
d3d9::D3DMULTISAMPLE_TYPE(MultiSample),
|
||||||
0, // TODO: CreateRenderTarget MultisampleQuality
|
0,
|
||||||
Lockable,
|
Lockable,
|
||||||
&pSurf9,
|
&pSurf9,
|
||||||
NULL);
|
NULL);
|
||||||
|
@ -509,7 +509,7 @@ namespace dxvk {
|
||||||
Height,
|
Height,
|
||||||
d3d9::D3DFORMAT(Format),
|
d3d9::D3DFORMAT(Format),
|
||||||
d3d9::D3DMULTISAMPLE_TYPE(MultiSample),
|
d3d9::D3DMULTISAMPLE_TYPE(MultiSample),
|
||||||
0, // TODO: CreateDepthStencilSurface MultisampleQuality
|
0,
|
||||||
true, // TODO: CreateDepthStencilSurface Discard
|
true, // TODO: CreateDepthStencilSurface Discard
|
||||||
&pSurf9,
|
&pSurf9,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue