Commit 88178027 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Remove CleanDirtyBox().

It's never used.
parent 8c84636c
...@@ -261,18 +261,6 @@ static HRESULT WINAPI IWineD3DVolumeImpl_UnlockBox(IWineD3DVolume *iface) { ...@@ -261,18 +261,6 @@ static HRESULT WINAPI IWineD3DVolumeImpl_UnlockBox(IWineD3DVolume *iface) {
/* Internal use functions follow : */ /* 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) { static HRESULT WINAPI IWineD3DVolumeImpl_AddDirtyBox(IWineD3DVolume *iface, CONST WINED3DBOX* pDirtyBox) {
IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface; IWineD3DVolumeImpl *This = (IWineD3DVolumeImpl *)iface;
This->dirty = TRUE; This->dirty = TRUE;
...@@ -375,7 +363,6 @@ const IWineD3DVolumeVtbl IWineD3DVolume_Vtbl = ...@@ -375,7 +363,6 @@ const IWineD3DVolumeVtbl IWineD3DVolume_Vtbl =
IWineD3DVolumeImpl_UnlockBox, IWineD3DVolumeImpl_UnlockBox,
/* Internal interface */ /* Internal interface */
IWineD3DVolumeImpl_AddDirtyBox, IWineD3DVolumeImpl_AddDirtyBox,
IWineD3DVolumeImpl_CleanDirtyBox,
IWineD3DVolumeImpl_LoadTexture, IWineD3DVolumeImpl_LoadTexture,
IWineD3DVolumeImpl_SetContainer IWineD3DVolumeImpl_SetContainer
}; };
...@@ -2515,8 +2515,6 @@ interface IWineD3DVolume : IWineD3DResource ...@@ -2515,8 +2515,6 @@ interface IWineD3DVolume : IWineD3DResource
HRESULT AddDirtyBox( HRESULT AddDirtyBox(
[in] const WINED3DBOX *dirty_box [in] const WINED3DBOX *dirty_box
); );
HRESULT CleanDirtyBox(
);
HRESULT LoadTexture( HRESULT LoadTexture(
[in] int gl_level, [in] int gl_level,
[in] BOOL srgb_mode [in] BOOL srgb_mode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment