wined3d: Pass NULL for the stateBlock parameter to shader_get_registers_used() in IWineD3DVertexShaderImpl_SetFunction.
This commit is contained in:
parent
a43f4e7a42
commit
7a9bb1db28
|
@ -562,7 +562,7 @@ static HRESULT WINAPI IWineD3DVertexShaderImpl_SetFunction(IWineD3DVertexShader
|
|||
/* Second pass: figure out registers used, semantics, etc.. */
|
||||
memset(reg_maps, 0, sizeof(shader_reg_maps));
|
||||
hr = shader_get_registers_used((IWineD3DBaseShader*) This, reg_maps,
|
||||
This->semantics_in, This->semantics_out, pFunction, deviceImpl->stateBlock);
|
||||
This->semantics_in, This->semantics_out, pFunction, NULL);
|
||||
if (hr != WINED3D_OK) return hr;
|
||||
|
||||
This->baseShader.shader_mode = deviceImpl->vs_selected_mode;
|
||||
|
|
Loading…
Reference in New Issue