wined3d: Remove PresentationIntervals from WINED3DCAPS.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-03-12 13:53:47 +01:00 committed by Alexandre Julliard
parent 23b4b3cd4c
commit 0554d17611
4 changed files with 2 additions and 6 deletions

View File

@ -294,7 +294,7 @@ void d3dcaps_from_wined3dcaps(D3DCAPS8 *caps, const WINED3DCAPS *wined3d_caps)
caps->Caps = wined3d_caps->Caps; caps->Caps = wined3d_caps->Caps;
caps->Caps2 = wined3d_caps->Caps2; caps->Caps2 = wined3d_caps->Caps2;
caps->Caps3 = wined3d_caps->Caps3; caps->Caps3 = wined3d_caps->Caps3;
caps->PresentationIntervals = wined3d_caps->PresentationIntervals; caps->PresentationIntervals = D3DPRESENT_INTERVAL_IMMEDIATE | D3DPRESENT_INTERVAL_ONE;
caps->CursorCaps = wined3d_caps->CursorCaps; caps->CursorCaps = wined3d_caps->CursorCaps;
caps->DevCaps = wined3d_caps->DevCaps; caps->DevCaps = wined3d_caps->DevCaps;
caps->PrimitiveMiscCaps = wined3d_caps->PrimitiveMiscCaps; caps->PrimitiveMiscCaps = wined3d_caps->PrimitiveMiscCaps;

View File

@ -330,7 +330,7 @@ void d3dcaps_from_wined3dcaps(D3DCAPS9 *caps, const WINED3DCAPS *wined3d_caps)
caps->Caps = wined3d_caps->Caps; caps->Caps = wined3d_caps->Caps;
caps->Caps2 = wined3d_caps->Caps2; caps->Caps2 = wined3d_caps->Caps2;
caps->Caps3 = wined3d_caps->Caps3; caps->Caps3 = wined3d_caps->Caps3;
caps->PresentationIntervals = wined3d_caps->PresentationIntervals; caps->PresentationIntervals = D3DPRESENT_INTERVAL_IMMEDIATE | D3DPRESENT_INTERVAL_ONE;
caps->CursorCaps = wined3d_caps->CursorCaps; caps->CursorCaps = wined3d_caps->CursorCaps;
caps->DevCaps = wined3d_caps->DevCaps; caps->DevCaps = wined3d_caps->DevCaps;
caps->PrimitiveMiscCaps = wined3d_caps->PrimitiveMiscCaps; caps->PrimitiveMiscCaps = wined3d_caps->PrimitiveMiscCaps;

View File

@ -5643,9 +5643,6 @@ HRESULT CDECL wined3d_get_device_caps(const struct wined3d *wined3d, UINT adapte
WINED3DCAPS3_COPY_TO_VIDMEM | WINED3DCAPS3_COPY_TO_VIDMEM |
WINED3DCAPS3_COPY_TO_SYSTEMMEM; WINED3DCAPS3_COPY_TO_SYSTEMMEM;
caps->PresentationIntervals = WINED3DPRESENT_INTERVAL_IMMEDIATE |
WINED3DPRESENT_INTERVAL_ONE;
caps->CursorCaps = WINED3DCURSORCAPS_COLOR | caps->CursorCaps = WINED3DCURSORCAPS_COLOR |
WINED3DCURSORCAPS_LOWRES; WINED3DCURSORCAPS_LOWRES;

View File

@ -1863,7 +1863,6 @@ typedef struct _WINED3DCAPS
DWORD Caps; DWORD Caps;
DWORD Caps2; DWORD Caps2;
DWORD Caps3; DWORD Caps3;
DWORD PresentationIntervals;
DWORD CursorCaps; DWORD CursorCaps;
DWORD DevCaps; DWORD DevCaps;