Thx Royce3 for notice's a typo error CreateData to CanCreateData in a if statement. But it is not the bug we are looking for.

svn path=/trunk/; revision=17233
This commit is contained in:
Magnus Olsen 2005-08-09 07:42:00 +00:00
parent fe9647d739
commit 2b0d98ed0e

View file

@ -72,7 +72,7 @@ HRESULT WINAPI Main_DDrawSurface_Initialize (LPDIRECTDRAWSURFACE7 iface, LPDIREC
if (This->owner->DriverCallbacks.DdMain.CanCreateSurface (&CanCreateData) == DDHAL_DRIVER_NOTHANDLED)
return DDERR_INVALIDPARAMS;
if(CreateData.ddRVal != DD_OK)
if(CanCreateData.ddRVal != DD_OK)
return CanCreateData.ddRVal;