wined3d: Don't free D3D vertex shaders until the wined3d vertex shader is destroyed.
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 784b024..1c93b22 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2764,6 +2764,7 @@
/* IWineD3DVertexShaderImpl */
IUnknown *parent;
+ const struct wined3d_parent_ops *parent_ops;
/* The GL shader */
void *backend_priv;
@@ -2780,7 +2781,7 @@
struct vs_compile_args *args) DECLSPEC_HIDDEN;
HRESULT vertexshader_init(IWineD3DVertexShaderImpl *shader, IWineD3DDeviceImpl *device,
const DWORD *byte_code, const struct wined3d_shader_signature *output_signature,
- IUnknown *parent) DECLSPEC_HIDDEN;
+ IUnknown *parent, const struct wined3d_parent_ops *parent_ops) DECLSPEC_HIDDEN;
/*****************************************************************************
* IDirect3DPixelShader implementation structure