mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
wined3d: Set pixel shader version correctly in IWineD3DPixelShaderImpl_SetFunction.
This commit is contained in:
parent
246b07de7c
commit
c73679e4eb
1 changed files with 1 additions and 1 deletions
|
@ -1664,7 +1664,7 @@ HRESULT WINAPI IWineD3DPixelShaderImpl_SetFunction(IWineD3DPixelShader *iface, C
|
|||
if (NULL != pToken) {
|
||||
while (D3DPS_END() != *pToken) {
|
||||
if (pshader_is_version_token(*pToken)) { /** version */
|
||||
version = *pToken & 0xFF;
|
||||
version = (((*pToken >> 8) & 0x0F) * 10) + (*pToken & 0x0F);
|
||||
TRACE("ps_%lu_%lu\n", (*pToken >> 8) & 0x0F, (*pToken & 0x0F));
|
||||
++pToken;
|
||||
++len;
|
||||
|
|
Loading…
Reference in a new issue