Author: greatlrd
Date: Thu Dec 7 23:48:00 2006
New Revision: 25082
URL:
http://svn.reactos.org/svn/reactos?rev=25082&view=rev
Log:
Adding more setup infromations for createsurface. (does not working yet)
Modified:
trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
Modified: trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/main/ddr…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/ddraw_main.c Thu Dec 7 23:48:00 2006
@@ -217,6 +217,10 @@
That->lpLcl->lpGbl = &ddSurfGbl;
That->lpLcl->lpGbl->lpDD = &ddgbl;
+ That->lpLcl->lpSurfMore =
(LPDDRAWI_DDRAWSURFACE_MORE)DxHeapMemAlloc(sizeof(LPDDRAWI_DDRAWSURFACE_MORE));
+ That->lpLcl->lpSurfMore->lpDD_int = This;
+ That->lpLcl->lpSurfMore->lpDD_lcl = This->lpLcl;
+
/* Code from wine cvs 24/7-2006 */
@@ -250,6 +254,7 @@
/* own code now */
+
mDdCanCreateSurface.lpDD = This->lpLcl->lpGbl;
mDdCanCreateSurface.bIsDifferentPixelFormat = FALSE;
mDdCanCreateSurface.lpDDSurfaceDesc = (LPDDSURFACEDESC) pDDSD;