On 1 October 2016 at 18:12, Nikolay Sivov nsivov@codeweavers.com wrote:
+void d2d_d3d_render_target_set_pixel_size(ID2D1RenderTarget *iface, UINT32 width, UINT32 height) +{
- struct d2d_d3d_render_target *render_target = impl_from_ID2D1RenderTarget(iface);
- render_target->pixel_size.width = width;
- render_target->pixel_size.height = height;
+}
I think d2d_d3d_render_target_create_rtv() already does this.
On 03.10.2016 16:45, Henri Verbeet wrote:
On 1 October 2016 at 18:12, Nikolay Sivov nsivov@codeweavers.com wrote:
+void d2d_d3d_render_target_set_pixel_size(ID2D1RenderTarget *iface, UINT32 width, UINT32 height) +{
- struct d2d_d3d_render_target *render_target = impl_from_ID2D1RenderTarget(iface);
- render_target->pixel_size.width = width;
- render_target->pixel_size.height = height;
+}
I think d2d_d3d_render_target_create_rtv() already does this.
Right, most likely a leftover from earlier version.