ddraw: Don't bother unsetting DDSCAPS2_MIPMAPSUBLEVEL in CreateSurface().
This is already handled in ddraw_surface_create_texture().
This commit is contained in:
parent
0261c465eb
commit
659cd984d5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue