ddraw: Don't bother unsetting DDSCAPS2_MIPMAPSUBLEVEL in CreateSurface().

This is already handled in ddraw_surface_create_texture().
This commit is contained in:
Henri Verbeet 2013-11-26 10:41:48 +01:00 committed by Alexandre Julliard
parent 0261c465eb
commit 659cd984d5
1 changed files with 0 additions and 4 deletions

View File

@ -2918,10 +2918,6 @@ static HRESULT CreateSurface(struct ddraw *ddraw, DDSURFACEDESC2 *DDSD,
}
}
/* According to the msdn this flag is ignored by CreateSurface */
if (DDSD->dwSize >= sizeof(DDSURFACEDESC2))
DDSD->ddsCaps.dwCaps2 &= ~DDSCAPS2_MIPMAPSUBLEVEL;
/* Modify some flags */
copy_to_surfacedesc2(&desc2, DDSD);