On 15 October 2015 at 11:29, Józef Kucia joseph.kucia@gmail.com wrote:
My point was that if we don't want to introduce device_from_immediate_ID3D11DeviceContext(). We could use struct d3d11_immediate_context *context = impl_from_ID3D11DeviceContext(iface); and then wined3d_device_set_primitive_type(context->device->wined3d_device, (enum wined3d_primitive_type)topology);
Yeah, I got that, but it's not really any better.