On 25/04/06, Ivan Gyurdiev ivg2@cornell.edu wrote:
(2) write a NULL argument on no match.
This patch corrects those issues, and also changes GetContainer() for surfaces and volumes to use the return value as MSDN specifies (WINED3D_INVALIDCALL), not E_NOINTERFACE on failure.
Did you verify this on Windows? MSDN tends to lie about these kind of things.
Also not that te value that wined3d returns isn't necessarily the same as what the respective d3d8/d3d9 call returns, although in practice it often is.