mirror of
https://github.com/aap/librw.git
synced 2025-06-05 15:10:26 +01:00
fix multisampling a bit
This commit is contained in:
parent
aa205bbf7b
commit
efc0c307d7
@ -1459,7 +1459,8 @@ startD3D(void)
|
||||
d3d9Globals.present.BackBufferHeight = height;
|
||||
d3d9Globals.present.BackBufferFormat = format;
|
||||
d3d9Globals.present.BackBufferCount = 1;
|
||||
d3d9Globals.present.MultiSampleType = (D3DMULTISAMPLE_TYPE)d3d9Globals.msLevel;
|
||||
d3d9Globals.present.MultiSampleType = d3d9Globals.msLevel == 1 ?
|
||||
D3DMULTISAMPLE_NONE : (D3DMULTISAMPLE_TYPE)d3d9Globals.msLevel;
|
||||
d3d9Globals.present.MultiSampleQuality = 0;
|
||||
d3d9Globals.present.SwapEffect = D3DSWAPEFFECT_DISCARD;
|
||||
d3d9Globals.present.hDeviceWindow = d3d9Globals.window;
|
||||
|
Loading…
x
Reference in New Issue
Block a user