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:
parent
23b4b3cd4c
commit
0554d17611
|
@ -294,7 +294,7 @@ void d3dcaps_from_wined3dcaps(D3DCAPS8 *caps, const WINED3DCAPS *wined3d_caps)
|
|||
caps->Caps = wined3d_caps->Caps;
|
||||
caps->Caps2 = wined3d_caps->Caps2;
|
||||
caps->Caps3 = wined3d_caps->Caps3;
|
||||
caps->PresentationIntervals = wined3d_caps->PresentationIntervals;
|
||||
caps->PresentationIntervals = D3DPRESENT_INTERVAL_IMMEDIATE | D3DPRESENT_INTERVAL_ONE;
|
||||
caps->CursorCaps = wined3d_caps->CursorCaps;
|
||||
caps->DevCaps = wined3d_caps->DevCaps;
|
||||
caps->PrimitiveMiscCaps = wined3d_caps->PrimitiveMiscCaps;
|
||||
|
|
|
@ -330,7 +330,7 @@ void d3dcaps_from_wined3dcaps(D3DCAPS9 *caps, const WINED3DCAPS *wined3d_caps)
|
|||
caps->Caps = wined3d_caps->Caps;
|
||||
caps->Caps2 = wined3d_caps->Caps2;
|
||||
caps->Caps3 = wined3d_caps->Caps3;
|
||||
caps->PresentationIntervals = wined3d_caps->PresentationIntervals;
|
||||
caps->PresentationIntervals = D3DPRESENT_INTERVAL_IMMEDIATE | D3DPRESENT_INTERVAL_ONE;
|
||||
caps->CursorCaps = wined3d_caps->CursorCaps;
|
||||
caps->DevCaps = wined3d_caps->DevCaps;
|
||||
caps->PrimitiveMiscCaps = wined3d_caps->PrimitiveMiscCaps;
|
||||
|
|
|
@ -5643,9 +5643,6 @@ HRESULT CDECL wined3d_get_device_caps(const struct wined3d *wined3d, UINT adapte
|
|||
WINED3DCAPS3_COPY_TO_VIDMEM |
|
||||
WINED3DCAPS3_COPY_TO_SYSTEMMEM;
|
||||
|
||||
caps->PresentationIntervals = WINED3DPRESENT_INTERVAL_IMMEDIATE |
|
||||
WINED3DPRESENT_INTERVAL_ONE;
|
||||
|
||||
caps->CursorCaps = WINED3DCURSORCAPS_COLOR |
|
||||
WINED3DCURSORCAPS_LOWRES;
|
||||
|
||||
|
|
|
@ -1863,7 +1863,6 @@ typedef struct _WINED3DCAPS
|
|||
DWORD Caps;
|
||||
DWORD Caps2;
|
||||
DWORD Caps3;
|
||||
DWORD PresentationIntervals;
|
||||
|
||||
DWORD CursorCaps;
|
||||
DWORD DevCaps;
|
||||
|
|
Loading…
Reference in New Issue