ddraw: Always pin surfaces.
This commit is contained in:
parent
13e3d32f76
commit
f20e07b77b
@ -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
|
* the surface isn't mapped, and that updates done this way will be
|
||||||
* visible on the screen. The game Nox is such an application,
|
* visible on the screen. The game Nox is such an application,
|
||||||
* Commandos: Behind Enemy Lines is another. */
|
* 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)
|
if (desc->ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user