Stefan Dösinger : ddraw: Set the video memory and visible flag on render targets.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 26 07:12:08 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 36a8a8e6f30424c9176b0d811b57ddfefce0340e
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=36a8a8e6f30424c9176b0d811b57ddfefce0340e

Author: Stefan Dösinger <stefandoesinger at 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)
     {




More information about the wine-cvs mailing list