ddraw: Always pin surfaces.

This commit is contained in:
Henri Verbeet 2012-02-22 09:36:28 +01:00 committed by Alexandre Julliard
parent 13e3d32f76
commit f20e07b77b

View file

@ -5526,8 +5526,7 @@ HRESULT ddraw_surface_init(IDirectDrawSurfaceImpl *surface, IDirectDrawImpl *ddr
* the surface isn't mapped, and that updates done this way will be
* visible on the screen. The game Nox is such an application,
* Commandos: Behind Enemy Lines is another. */
if (version == 1)
flags |= WINED3D_SURFACE_PIN_SYSMEM;
flags |= WINED3D_SURFACE_PIN_SYSMEM;
if (desc->ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE)
{