ddraw: Set the video memory and visible flag on render targets.
This commit is contained in:
parent
546a60ff2f
commit
36a8a8e6f3
|
@ -1787,6 +1787,10 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This,
|
|||
DDSCAPS_3DDEVICE ) )
|
||||
{
|
||||
Usage |= WINED3DUSAGE_RENDERTARGET;
|
||||
|
||||
pDDSD->ddsCaps.dwCaps |= DDSCAPS_VIDEOMEMORY |
|
||||
DDSCAPS_VISIBLE |
|
||||
DDSCAPS_LOCALVIDMEM;
|
||||
}
|
||||
if(This->depthstencil)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue