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:
parent
4184452f49
commit
b61ea1db76
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user