Stefan Dösinger : wined3d: Add IWineD3DSurface::Flip.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Apr 13 05:17:19 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: cf27031329b82f1a2f593e527065948e9b34c32f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=cf27031329b82f1a2f593e527065948e9b34c32f
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Wed Apr 12 22:32:44 2006 +0200
wined3d: Add IWineD3DSurface::Flip.
---
dlls/wined3d/surface.c | 6 ++++++
include/wine/wined3d_interface.h | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index a02c6ab..e8a38c0 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1445,6 +1445,11 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SetPB
return WINED3D_OK;
}
+HRESULT WINAPI IWineD3DSurfaceImpl_Flip(IWineD3DSurface *iface, IWineD3DSurface *override, DWORD Flags) {
+ FIXME("This is unimplemented for now(d3d7 merge)\n");
+ return WINED3DERR_INVALIDCALL;
+}
+
const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
{
/* IUnknown */
@@ -1469,6 +1474,7 @@ const IWineD3DSurfaceVtbl IWineD3DSurfac
IWineD3DSurfaceImpl_UnlockRect,
IWineD3DSurfaceImpl_GetDC,
IWineD3DSurfaceImpl_ReleaseDC,
+ IWineD3DSurfaceImpl_Flip,
/* Internal use: */
IWineD3DSurfaceImpl_CleanDirtyRect,
IWineD3DSurfaceImpl_AddDirtyRect,
diff --git a/include/wine/wined3d_interface.h b/include/wine/wined3d_interface.h
index 429a0c6..c163104 100644
--- a/include/wine/wined3d_interface.h
+++ b/include/wine/wined3d_interface.h
@@ -1100,6 +1100,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWine
STDMETHOD(UnlockRect)(THIS) PURE;
STDMETHOD(GetDC)(THIS_ HDC *pHdc) PURE;
STDMETHOD(ReleaseDC)(THIS_ HDC hdc) PURE;
+ STDMETHOD(Flip)(THIS_ IWineD3DSurface *Override, DWORD FLAGS) PURE;
/* Internally used methods */
STDMETHOD(CleanDirtyRect)(THIS) PURE;
STDMETHOD(AddDirtyRect)(THIS_ CONST RECT* pRect) PURE;
More information about the wine-cvs
mailing list