mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
fix return code in ddraw.dll GetCaps.cbug spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
svn path=/trunk/; revision=30706
This commit is contained in:
parent
cbf9e5b6d4
commit
be9c3ff7cb
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS DirectX
|
||||
* FILE: ddraw/ddraw/ddraw_main.c
|
||||
* FILE: ddraw/ddraw/GetCaps.c
|
||||
* PURPOSE: IDirectDraw7 Implementation
|
||||
* PROGRAMMER: Magnus Olsen
|
||||
*
|
||||
|
@ -139,6 +139,8 @@ Main_DirectDraw_GetCaps( LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps,
|
|||
myCaps->ddsCaps.dwCaps4 = 0;
|
||||
myCaps->dwSize = sizeof(DDCAPS_DX7);
|
||||
|
||||
retVal = DD_OK;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -247,6 +249,8 @@ Main_DirectDraw_GetCaps( LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps,
|
|||
myCaps->ddsCaps.dwCaps4 = 0;
|
||||
myCaps->dwSize = sizeof(DDCAPS_DX7);
|
||||
|
||||
retVal = DD_OK;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue