[PATCH 2/4] d3d9: Volume and cube textures do not support user memory.
Henri Verbeet
hverbeet at gmail.com
Wed Dec 4 10:47:56 CST 2013
On 4 December 2013 14:01, Stefan Dösinger <stefan at codeweavers.com> wrote:
> + if (pool == D3DPOOL_SYSTEMMEM)
> + {
> + WARN("User memory is not allowed on volume textures.\n");
> + return D3DERR_INVALIDCALL;
> + }
> + else
> + FIXME("Resource sharing not implemented, *shared_handle %p.\n", *shared_handle);
> + }
>
The docs suggest the check should be "pool != D3DPOOL_DEFAULT". You
can also drop the else-branch because you return.
More information about the wine-devel
mailing list