ddraw: Assign the surface descriptions height to the height.

oldstable
Stefan Dösinger 2006-06-26 17:20:57 +02:00 committed by Alexandre Julliard
parent 47c3663bec
commit 92e48bcea5
1 changed files with 1 additions and 1 deletions

View File

@ -1319,7 +1319,7 @@ IDirectDrawImpl_EnumDisplayModes(IDirectDraw7 *iface,
if (DDSD->dwFlags & DDSD_WIDTH)
Width = DDSD->dwWidth;
if (DDSD->dwFlags & DDSD_HEIGHT)
Width = DDSD->dwHeight;
Height = DDSD->dwHeight;
if ((DDSD->dwFlags & DDSD_PIXELFORMAT) && (DDSD->u4.ddpfPixelFormat.dwFlags & DDPF_RGB) )
pixelformat = PixelFormat_DD2WineD3D(&DDSD->u4.ddpfPixelFormat);
}