wined3d: Remove CleanDirtyBox().

Henri Verbeet hverbeet at codeweavers.com
Wed Jan 14 03:01:10 CST 2009


It's never used.
---
 dlls/wined3d/volume.c    |   13 -------------
 include/wine/wined3d.idl |    2 --
 2 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/dlls/wined3d/volume.c b/dlls/wined3d/volume.c
index 6700bb4..c8d42ad 100644
--- a/dlls/wined3d/volume.c
+++ b/dlls/wined3d/volume.c
@@ -261,18 +261,6 @@ static HRESULT WINAPI IWineD3DVolumeImpl_UnlockBox(IWineD3DVolume *iface) {
 
 /* Internal use functions follow : */
 
-static HRESULT WINAPI IWineD3DVolumeImpl_CleanDirtyBox(IWineD3DVolume *iface) {
-  IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface;
-  This->dirty = FALSE;
-  This->lockedBox.Left   = This->currentDesc.Width;
-  This->lockedBox.Top    = This->currentDesc.Height;
-  This->lockedBox.Front  = This->currentDesc.Depth;
-  This->lockedBox.Right  = 0;
-  This->lockedBox.Bottom = 0;
-  This->lockedBox.Back   = 0;
-  return WINED3D_OK;
-}
-
 static HRESULT WINAPI IWineD3DVolumeImpl_AddDirtyBox(IWineD3DVolume *iface, CONST WINED3DBOX* pDirtyBox) {
   IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface;
   This->dirty = TRUE;
@@ -375,7 +363,6 @@ const IWineD3DVolumeVtbl IWineD3DVolume_Vtbl =
     IWineD3DVolumeImpl_UnlockBox,
     /* Internal interface */
     IWineD3DVolumeImpl_AddDirtyBox,
-    IWineD3DVolumeImpl_CleanDirtyBox,
     IWineD3DVolumeImpl_LoadTexture,
     IWineD3DVolumeImpl_SetContainer
 };
diff --git a/include/wine/wined3d.idl b/include/wine/wined3d.idl
index 21e55c1..35bdacd 100644
--- a/include/wine/wined3d.idl
+++ b/include/wine/wined3d.idl
@@ -2515,8 +2515,6 @@ interface IWineD3DVolume : IWineD3DResource
     HRESULT AddDirtyBox(
         [in] const WINED3DBOX *dirty_box
     );
-    HRESULT CleanDirtyBox(
-    );
     HRESULT LoadTexture(
         [in] int gl_level,
         [in] BOOL srgb_mode
-- 
1.6.0.6



--------------050909080305040503000002--



More information about the wine-patches mailing list