On Thu, 11 Apr 2019 at 14:28, Paul Gofman gofmanp@gmail.com wrote:
- struct wined3d_viewport vp;
- FIXME("iface %p, clip_status %p.\n", iface, clip_status);
- wined3d_device_get_viewports(device->wined3d_device, NULL, &vp);
- clip_status->minx = (float)vp.x;
- clip_status->maxx = (float)(vp.x + vp.width);
- clip_status->miny = (float)vp.y;
- clip_status->maxy = (float)(vp.y + vp.height);
Those casts should be redundant.