mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user