mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 01:29:47 +00:00
ddraw: Get rid of some dead code.
This commit is contained in:
parent
f461b39b76
commit
5bf9dd902c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue