mirror of
https://github.com/reactos/wine.git
synced 2025-02-15 02:18:51 +00:00
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…
x
Reference in New Issue
Block a user