mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d10core: Allow a NULL input layout to be set in IASetInputLayout().
This commit is contained in:
parent
36823dd96b
commit
ee396dda28
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ static void STDMETHODCALLTYPE d3d10_device_IASetInputLayout(ID3D10Device *iface,
|
|||
TRACE("iface %p, input_layout %p\n", iface, input_layout);
|
||||
|
||||
IWineD3DDevice_SetVertexDeclaration(This->wined3d_device,
|
||||
((struct d3d10_input_layout *)input_layout)->wined3d_decl);
|
||||
input_layout ? ((struct d3d10_input_layout *)input_layout)->wined3d_decl : NULL);
|
||||
}
|
||||
|
||||
static void STDMETHODCALLTYPE d3d10_device_IASetVertexBuffers(ID3D10Device *iface,
|
||||
|
|
Loading…
Reference in a new issue