=?UTF-8?Q?Rico=20Sch=C3=BCller=20?=: d3dx9: Track ID3DXEffect::Begin/End().
Alexandre Julliard
julliard at winehq.org
Fri Aug 2 09:53:39 CDT 2013
Module: wine
Branch: master
Commit: 3ff2255a83494f4a1b3391d63083e7056d185106
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ff2255a83494f4a1b3391d63083e7056d185106
Author: Rico Schüller <kgbricola at web.de>
Date: Thu Aug 1 22:48:11 2013 +0200
d3dx9: Track ID3DXEffect::Begin/End().
---
dlls/d3dx9_36/effect.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index 0be0d1e..2c8eedf 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -176,6 +176,7 @@ struct ID3DXEffectImpl
struct ID3DXEffectPool *pool;
struct d3dx_technique *active_technique;
struct d3dx_pass *active_pass;
+ BOOL started;
ID3DXBaseEffect *base_effect;
};
@@ -3470,6 +3471,7 @@ static HRESULT WINAPI ID3DXEffectImpl_Begin(ID3DXEffect *iface, UINT *passes, DW
}
*passes = technique->pass_count;
+ This->started = TRUE;
return D3D_OK;
}
@@ -3526,13 +3528,15 @@ static HRESULT WINAPI ID3DXEffectImpl_EndPass(ID3DXEffect *iface)
return D3DERR_INVALIDCALL;
}
-static HRESULT WINAPI ID3DXEffectImpl_End(ID3DXEffect* iface)
+static HRESULT WINAPI ID3DXEffectImpl_End(ID3DXEffect *iface)
{
struct ID3DXEffectImpl *This = impl_from_ID3DXEffect(iface);
- FIXME("(%p)->(): stub\n", This);
+ FIXME("iface %p partial stub\n", iface);
- return E_NOTIMPL;
+ This->started = FALSE;
+
+ return D3D_OK;
}
static HRESULT WINAPI ID3DXEffectImpl_GetDevice(ID3DXEffect *iface, struct IDirect3DDevice9 **device)
More information about the wine-cvs
mailing list