From f20e07b77bec5863e71141cfe623f1ef8ef28c60 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 22 Feb 2012 09:36:28 +0100 Subject: [PATCH] ddraw: Always pin surfaces. --- dlls/ddraw/surface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c index 2e975107442..10643f5f40d 100644 --- a/dlls/ddraw/surface.c +++ b/dlls/ddraw/surface.c @@ -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) {