Commit f5c2e85b authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Return the correct pixelshader in

IWineD3DDeviceImpl_GetPixelShader.
parent 4bd8b60b
......@@ -3967,7 +3967,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetPixelShader(IWineD3DDevice *iface, IWineD3D
return D3DERR_INVALIDCALL;
}
*ppShader = This->updateStateBlock->pixelShader;
*ppShader = This->stateBlock->pixelShader;
if (NULL != ppShader) {
IWineD3DPixelShader_AddRef(*ppShader);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment