Stefan Dösinger : ddraw: Set the video memory and visible flag on render targets.
Module: wine Branch: refs/heads/master Commit: 36a8a8e6f30424c9176b0d811b57ddfefce0340e URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=36a8a8e6f30424c9176b0d81... Author: Stefan Dösinger <stefandoesinger(a)gmx.at> Date: Sat Jun 24 23:39:24 2006 +0200 ddraw: Set the video memory and visible flag on render targets. --- dlls/ddraw/ddraw.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index ca0258e..5db0e34 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -1787,6 +1787,10 @@ IDirectDrawImpl_CreateNewSurface(IDirect DDSCAPS_3DDEVICE ) ) { Usage |= WINED3DUSAGE_RENDERTARGET; + + pDDSD->ddsCaps.dwCaps |= DDSCAPS_VIDEOMEMORY | + DDSCAPS_VISIBLE | + DDSCAPS_LOCALVIDMEM; } if(This->depthstencil) {
participants (1)
-
Alexandre Julliard