mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
d3dx9: Implement ID3DXBaseEffect::GetTechnique().
This commit is contained in:
parent
e798d0016b
commit
6f824e171c
@ -589,9 +589,17 @@ static D3DXHANDLE WINAPI ID3DXBaseEffectImpl_GetTechnique(ID3DXBaseEffect *iface
|
||||
{
|
||||
struct ID3DXBaseEffectImpl *This = impl_from_ID3DXBaseEffect(iface);
|
||||
|
||||
FIXME("iface %p, index %u stub\n", This, index);
|
||||
TRACE("iface %p, index %u\n", This, index);
|
||||
|
||||
return NULL;
|
||||
if (index >= This->technique_count)
|
||||
{
|
||||
WARN("Invalid argument specified.\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
TRACE("Returning technique %p\n", This->technique_handles[index]);
|
||||
|
||||
return This->technique_handles[index];
|
||||
}
|
||||
|
||||
static D3DXHANDLE WINAPI ID3DXBaseEffectImpl_GetTechniqueByName(ID3DXBaseEffect *iface, LPCSTR name)
|
||||
|
Loading…
Reference in New Issue
Block a user