mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 04:29:15 +01:00
[d3d9] Remove mentions of SWAPEFFECT_COPY_VSYNC
It doesn't exist in desktop D3D9 and we fail device creation with this value anyway.
This commit is contained in:
parent
6d2c692607
commit
1ad9da491d
@ -44,10 +44,6 @@
|
||||
#define D3DPRESENT_FORCEIMMEDIATE 0x00000100L
|
||||
#endif
|
||||
|
||||
#ifndef D3DSWAPEFFECT_COPY_VSYNC
|
||||
#define D3DSWAPEFFECT_COPY_VSYNC 4
|
||||
#endif
|
||||
|
||||
// MinGW headers are broken. Who'dve guessed?
|
||||
#ifndef _MSC_VER
|
||||
typedef struct _D3DDEVINFO_RESOURCEMANAGER
|
||||
|
@ -249,9 +249,6 @@ namespace dxvk {
|
||||
if (m_presentParams.SwapEffect == D3DSWAPEFFECT_COPY)
|
||||
return false;
|
||||
|
||||
if (m_presentParams.SwapEffect == D3DSWAPEFFECT_COPY_VSYNC)
|
||||
return false;
|
||||
|
||||
// Tests show that SWAPEEFFECT_DISCARD with 1 backbuffer in windowed mode behaves identically to SWAPEFFECT_COPY
|
||||
// For SWAPEFFECT_COPY we don't swap buffers but do another blit to the front buffer instead.
|
||||
if (m_presentParams.SwapEffect == D3DSWAPEFFECT_DISCARD && m_presentParams.BackBufferCount == 1 && m_presentParams.Windowed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user