mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
ddraw: Always pin surfaces.
This commit is contained in:
parent
13e3d32f76
commit
f20e07b77b
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue