d3d8: An invalid shader version isn't an internal error.
This commit is contained in:
parent
8fbf23f0cc
commit
95098f1b2a
|
@ -98,7 +98,7 @@ HRESULT WINAPI ValidateVertexShader(DWORD* vertexshader, DWORD* reserved1, DWORD
|
||||||
ret=S_OK;
|
ret=S_OK;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ERR("vertexshader version mismatch\n");
|
WARN("Invalid shader version token %#x.\n", *vertexshader);
|
||||||
ret=E_FAIL;
|
ret=E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ HRESULT WINAPI ValidatePixelShader(DWORD* pixelshader, DWORD* reserved1, BOOL bo
|
||||||
ret=S_OK;
|
ret=S_OK;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ERR("pixelshader version mismatch\n");
|
WARN("Invalid shader version token %#x.\n", *pixelshader);
|
||||||
ret=E_FAIL;
|
ret=E_FAIL;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue