mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
wined3d: Return the correct pixelshader in
IWineD3DDeviceImpl_GetPixelShader.
This commit is contained in:
parent
4bd8b60bd3
commit
f5c2e85b46
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user