Module: wine Branch: master Commit: 5bf9dd902c1a040b63e6a6dfddc56cb6dbb08e8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=5bf9dd902c1a040b63e6a6dfdd...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Jul 19 12:47:58 2010 +0200
ddraw: Get rid of some dead code.
---
dlls/ddraw/surface_thunks.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/dlls/ddraw/surface_thunks.c b/dlls/ddraw/surface_thunks.c index d235ff9..be57c3b 100644 --- a/dlls/ddraw/surface_thunks.c +++ b/dlls/ddraw/surface_thunks.c @@ -150,16 +150,6 @@ EnumCallback(LPDIRECTDRAWSURFACE7 iface, LPDDSURFACEDESC2 pDDSD, { const struct callback_info* info = context;
-#if 0 - /* This is an outgoing conversion so we have to do it. */ - DDSURFACEDESC ddsd; - memset(&ddsd, 0, sizeof(ddsd)); - ddsd.dwSize = sizeof(ddsd); - DDRAW_Convert_DDSURFACEDESC_2_To_1(pDDSD, &ddsd); -#endif - - /* the LPDDSURFACEDESC2 -> LPDDSURFACEDESC coercion is safe, since - * the data format is compatible with older enum procs */ return info->callback(iface ? (IDirectDrawSurface *)&((IDirectDrawSurfaceImpl *)iface)->IDirectDrawSurface3_vtbl : NULL, (LPDDSURFACEDESC)pDDSD, info->context);