Andrew Nguyen : ddraw: Remove some unused structure definitions in the private ddraw header.
Alexandre Julliard
julliard at winehq.org
Tue May 31 13:08:19 CDT 2011
Module: wine
Branch: master
Commit: be17277bb7023f403deefc9741e7ffdea9013f24
URL: http://source.winehq.org/git/wine.git/?a=commit;h=be17277bb7023f403deefc9741e7ffdea9013f24
Author: Andrew Nguyen <anguyen at codeweavers.com>
Date: Tue May 31 05:50:02 2011 -0500
ddraw: Remove some unused structure definitions in the private ddraw header.
---
dlls/ddraw/ddraw_private.h | 30 ------------------------------
1 files changed, 0 insertions(+), 30 deletions(-)
diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h
index aa50feb..e88dda0 100644
--- a/dlls/ddraw/ddraw_private.h
+++ b/dlls/ddraw/ddraw_private.h
@@ -135,21 +135,6 @@ struct IDirectDrawImpl
HRESULT ddraw_init(IDirectDrawImpl *ddraw, WINED3DDEVTYPE device_type) DECLSPEC_HIDDEN;
-/* Helper structures */
-typedef struct EnumDisplayModesCBS
-{
- void *context;
- LPDDENUMMODESCALLBACK2 callback;
-} EnumDisplayModesCBS;
-
-typedef struct EnumSurfacesCBS
-{
- void *context;
- LPDDENUMSURFACESCALLBACK7 callback;
- LPDDSURFACEDESC2 pDDSD;
- DWORD Flags;
-} EnumSurfacesCBS;
-
/* Utility functions */
void DDRAW_Convert_DDSCAPS_1_To_2(const DDSCAPS *pIn, DDSCAPS2 *pOut) DECLSPEC_HIDDEN;
void DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1(const DDDEVICEIDENTIFIER2 *pIn, DDDEVICEIDENTIFIER *pOut) DECLSPEC_HIDDEN;
@@ -341,21 +326,6 @@ static inline IDirect3DDeviceImpl *device_from_device3(IDirect3DDevice3 *iface)
return (IDirect3DDeviceImpl *)((char*)iface - FIELD_OFFSET(IDirect3DDeviceImpl, IDirect3DDevice3_vtbl));
}
-/* Structures */
-struct EnumTextureFormatsCBS
-{
- LPD3DENUMTEXTUREFORMATSCALLBACK cbv2;
- LPD3DENUMPIXELFORMATSCALLBACK cbv7;
- void *Context;
-};
-
-/* Structure for EnumZBufferFormats */
-struct EnumZBufferFormatsData
-{
- LPD3DENUMPIXELFORMATSCALLBACK Callback;
- void *Context;
-};
-
/*****************************************************************************
* IDirectDrawClipper implementation structure
*****************************************************************************/
More information about the wine-cvs
mailing list