Commit 92e48bce authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ddraw: Assign the surface descriptions height to the height.

parent 47c3663b
......@@ -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);
}
......
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