use none instead of stretch
This commit is contained in:
parent
98f31172ab
commit
73eaee8f6f
1 changed files with 1 additions and 1 deletions
|
@ -1048,7 +1048,7 @@ fn create_swap_chain(
|
||||||
},
|
},
|
||||||
BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT,
|
BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT,
|
||||||
BufferCount: BUFFER_COUNT as u32,
|
BufferCount: BUFFER_COUNT as u32,
|
||||||
Scaling: DXGI_SCALING_STRETCH,
|
Scaling: DXGI_SCALING_NONE,
|
||||||
SwapEffect: DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL,
|
SwapEffect: DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL,
|
||||||
AlphaMode: DXGI_ALPHA_MODE_IGNORE,
|
AlphaMode: DXGI_ALPHA_MODE_IGNORE,
|
||||||
Flags: 0,
|
Flags: 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue