Fix a bug, thanks to Salamander again.
Modified: trunk/reactos/lib/ddraw/main/surface.c
_____
Modified: trunk/reactos/lib/ddraw/main/surface.c
--- trunk/reactos/lib/ddraw/main/surface.c 2005-08-08 15:49:37 UTC
(rev 17208)
+++ trunk/reactos/lib/ddraw/main/surface.c 2005-08-08 15:56:27 UTC
(rev 17209)
@@ -34,8 +34,8 @@
Global.dwGlobalFlags |= DDRAWISURFGBL_ISGDISURFACE;
Global.lpDD = &This->owner->DirectDrawGlobal;
- Global.wHeight = This->owner->Width;
- Global.wWidth = This->owner->Height;
+ Global.wHeight = This->owner->Height;
+ Global.wWidth = This->owner->Width;
Global.dwLinearSize = Global.wWidth * This->owner->Bpp/8;
// Surface More Struct