wined3d: Return the correct pixelshader in

IWineD3DDeviceImpl_GetPixelShader.
This commit is contained in:
H. Verbeet 2006-01-20 16:13:12 +01:00 committed by Alexandre Julliard
parent 4bd8b60bd3
commit f5c2e85b46
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}