Commit 8dd93c7e authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10core: Translate d3d10 usage to wined3d usage for buffers.

parent 1fd0cf68
......@@ -233,10 +233,8 @@ HRESULT d3d10_buffer_init(struct d3d10_buffer *buffer, struct d3d10_device *devi
buffer->refcount = 1;
wined3d_private_store_init(&buffer->private_store);
FIXME("Implement DXGI<->wined3d usage conversion\n");
wined3d_desc.byte_width = desc->ByteWidth;
wined3d_desc.usage = desc->Usage;
wined3d_desc.usage = wined3d_usage_from_d3d10core(0, desc->Usage);
wined3d_desc.bind_flags = desc->BindFlags;
wined3d_desc.cpu_access_flags = desc->CPUAccessFlags;
wined3d_desc.misc_flags = desc->MiscFlags;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment