[PATCH] DDraw: Do not set the rendertarget flag just because of =

Stefan Doesinger stefan at codeweavers.com
Thu Jul 31 17:17:27 CDT 2008

the backbuffer flag=0A=
There are also overlay backbuffers, which aren't render targets. The =
primarysurface and d3ddevice cap=0A=
flags should be enough here.=0A=
 dlls/ddraw/ddraw.c |    1 -=0A=
 1 files changed, 0 insertions(+), 1 deletions(-)=0A=
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c=0A=
index 8eac776..73982ed 100644=0A=
--- a/dlls/ddraw/ddraw.c=0A=
+++ b/dlls/ddraw/ddraw.c=0A=
@@ -2022,7 +2022,6 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl =
     /* Get the correct wined3d usage */=0A=
     if (pDDSD->ddsCaps.dwCaps & (DDSCAPS_PRIMARYSURFACE |=0A=
-                                 DDSCAPS_BACKBUFFER     |=0A=
                                  DDSCAPS_3DDEVICE       ) )=0A=
-- =0A=


More information about the wine-patches mailing list