mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 02:10:34 +00:00
fixing a bug in Create_DirectDraw, did call on Main_DirectDraw_Initialize, but that function have been rewriten, and did not working as the old one.
svn path=/trunk/; revision=24945
This commit is contained in:
parent
40c598fe5b
commit
6448d0948e
1 changed files with 1 additions and 1 deletions
|
@ -531,7 +531,7 @@ Create_DirectDraw (LPGUID pGUID,
|
||||||
if (StartDirectDraw((LPDIRECTDRAW*)This, pGUID) == DD_OK);
|
if (StartDirectDraw((LPDIRECTDRAW*)This, pGUID) == DD_OK);
|
||||||
{
|
{
|
||||||
|
|
||||||
return ((LPDIRECTDRAW7)This)->lpVtbl->Initialize ((LPDIRECTDRAW7)This, pGUID);
|
return DD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DDERR_INVALIDPARAMS;
|
return DDERR_INVALIDPARAMS;
|
||||||
|
|
Loading…
Reference in a new issue