Stefan Dösinger : ddraw: Assign the surface descriptions height to the height.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jun 27 04:53:25 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 92e48bcea5d368c67bf8f65df6588b138bdc0b08
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=92e48bcea5d368c67bf8f65df6588b138bdc0b08
Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date: Mon Jun 26 17:20:57 2006 +0200
ddraw: Assign the surface descriptions height to the height.
---
dlls/ddraw/ddraw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index 8e4aac7..b9e7f32 100644
--- a/dlls/ddraw/ddraw.c
+++ b/dlls/ddraw/ddraw.c
@@ -1319,7 +1319,7 @@ IDirectDrawImpl_EnumDisplayModes(IDirect
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);
}
More information about the wine-cvs
mailing list