On 03.12.2012 23:11, Stefan Dösinger wrote:
- DWORD pool = buffer->Caps & D3DVBCAPS_SYSTEMMEMORY ? WINED3D_POOL_SYSTEM_MEM : WINED3D_POOL_DEFAULT;
...
- return wined3d_buffer_create_vb(buffer->ddraw->wined3d_device,
buffer->size, usage, pool, buffer, &ddraw_null_wined3d_parent_ops,
wined3d_buffer);
Is there a reason why you don't use "enum wined3d_pool" for pool?
Cheers Rico