mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
fix a typo
svn path=/trunk/; revision=31268
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user