Commit f20e07b7 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ddraw: Always pin surfaces.

parent 13e3d32f
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment