=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3d11: Set surface and volume parents to NULL.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Sep 4 07:03:43 CDT 2015
Module: wine
Branch: master
Commit: b486a23bac8bd25da5dcf8d809e0ce8fabb0ca64
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b486a23bac8bd25da5dcf8d809e0ce8fabb0ca64
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu Sep 3 20:56:27 2015 +0200
d3d11: Set surface and volume parents to NULL.
---
dlls/d3d11/device.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c
index 4dd528e..dee3c57 100644
--- a/dlls/d3d11/device.c
+++ b/dlls/d3d11/device.c
@@ -2885,7 +2885,7 @@ static HRESULT CDECL device_parent_surface_created(struct wined3d_device_parent
TRACE("device_parent %p, container_parent %p, surface %p, parent %p, parent_ops %p.\n",
device_parent, container_parent, surface, parent, parent_ops);
- *parent = container_parent;
+ *parent = NULL;
*parent_ops = &d3d10_null_wined3d_parent_ops;
return S_OK;
@@ -2898,7 +2898,7 @@ static HRESULT CDECL device_parent_volume_created(struct wined3d_device_parent *
TRACE("device_parent %p, container_parent %p, volume %p, parent %p, parent_ops %p.\n",
device_parent, container_parent, volume, parent, parent_ops);
- *parent = container_parent;
+ *parent = NULL;
*parent_ops = &d3d10_null_wined3d_parent_ops;
return S_OK;
More information about the wine-cvs
mailing list