mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
fix a typo
svn path=/trunk/; revision=31268
This commit is contained in:
parent
dbd6da8f76
commit
2dd0e4bc06
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ Internal_CreateSurface( LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD,
|
|||
* if they forget set it, the ddraw will autoamtic
|
||||
* set it for system memory.
|
||||
*/
|
||||
if ((pDDSD->dwFlags & DDSCAPS_SYSTEMMEMORY) != DDSCAPS_SYSTEMMEMORY)
|
||||
if ((pDDSD->ddsCaps.dwCaps & DDSCAPS_SYSTEMMEMORY) == DDSCAPS_SYSTEMMEMORY)
|
||||
{
|
||||
pDDSD->dwFlags = pDDSD->dwFlags | DDSD_LPSURFACE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue