On 4 December 2013 14:01, Stefan Dösinger stefan@codeweavers.com wrote:
if (pool == D3DPOOL_SYSTEMMEM){WARN("User memory is not allowed on volume textures.\n");return D3DERR_INVALIDCALL;}elseFIXME("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.