-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 2015-09-14 um 13:13 schrieb Riccardo Bortolato:
- hr = wined3d_surface_map(surface->wined3d_surface, &map_desc, rect ? (const struct wined3d_box *)&box : NULL, flags);
Why do you need the cast?
On 14 September 2015 at 21:21, Stefan Dösinger stefandoesinger@gmail.com wrote:
Am 2015-09-14 um 13:13 schrieb Riccardo Bortolato:
- hr = wined3d_surface_map(surface->wined3d_surface, &map_desc, rect ? (const struct wined3d_box *)&box : NULL, flags);
Why do you need the cast?
Also, you can implement surface_check_block_align_rect() on top of surface_check_block_align().