[PATCH 1/5] ddraw: Factor out viewport_alloc_active_light_index() function.

Henri Verbeet hverbeet at gmail.com
Tue Jun 11 15:10:15 CDT 2019


On Tue, 11 Jun 2019 at 14:37, Paul Gofman <gofmanp at gmail.com> wrote:
> +    i = 0;
> +    while (map & 1)
> +    {
> +        map >>= 1;
> +        ++i;
> +    }
This is existing code, but: "i = wined3d_bit_scan(~map);"



More information about the wine-devel mailing list