Fix a bug, thanks to Salamander again.

svn path=/trunk/; revision=17209
This commit is contained in:
Maarten Bosma 2005-08-08 15:56:27 +00:00
parent 273d211c94
commit f97732afbd

View file

@ -34,8 +34,8 @@ HRESULT WINAPI Main_DDrawSurface_Initialize (LPDIRECTDRAWSURFACE7 iface, LPDIREC
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