Re: [PATCH 2/4] d3d9: Volume and cube textures do not support user memory.
4 Dec
2013
4 Dec
'13
4:47 p.m.
On 4 December 2013 14:01, Stefan Dösinger <stefan(a)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.
4390
Age (days ago)
4390
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet