Commit 36a8a8e6 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ddraw: Set the video memory and visible flag on render targets.

parent 546a60ff
...@@ -1787,6 +1787,10 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This, ...@@ -1787,6 +1787,10 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This,
DDSCAPS_3DDEVICE ) ) DDSCAPS_3DDEVICE ) )
{ {
Usage |= WINED3DUSAGE_RENDERTARGET; Usage |= WINED3DUSAGE_RENDERTARGET;
pDDSD->ddsCaps.dwCaps |= DDSCAPS_VIDEOMEMORY |
DDSCAPS_VISIBLE |
DDSCAPS_LOCALVIDMEM;
} }
if(This->depthstencil) if(This->depthstencil)
{ {
......
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