Louis Lenders : wined3d: Add WINED3DPRESENT_INTERVAL_ONE flag.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 10 10:18:03 CDT 2007


Module: wine
Branch: master
Commit: a7558ce756c62b4b282f1acdfee23870a04a9a8e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a7558ce756c62b4b282f1acdfee23870a04a9a8e

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Fri Sep  7 17:29:02 2007 +0100

wined3d: Add WINED3DPRESENT_INTERVAL_ONE flag.

---

 dlls/wined3d/directx.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index e199f36..774bf38 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1810,7 +1810,8 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
                                       WINED3DCAPS2_FULLSCREENGAMMA |
                                       WINED3DCAPS2_DYNAMICTEXTURES;
     *pCaps->Caps3                   = WINED3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD;
-    *pCaps->PresentationIntervals   = WINED3DPRESENT_INTERVAL_IMMEDIATE;
+    *pCaps->PresentationIntervals   = WINED3DPRESENT_INTERVAL_IMMEDIATE  |
+                                      WINED3DPRESENT_INTERVAL_ONE;
 
     *pCaps->CursorCaps              = WINED3DCURSORCAPS_COLOR            |
                                       WINED3DCURSORCAPS_LOWRES;




More information about the wine-cvs mailing list