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

oldstable
Stefan Dösinger 2006-06-24 23:39:24 +02:00 committed by Alexandre Julliard
parent 546a60ff2f
commit 36a8a8e6f3
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{