[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 1/7] wined3d: Validate render state in wined3d_device_set_render_state().
From:       Henri Verbeet <hverbeet () gmail ! com>
Date:       2016-01-28 13:50:42
Message-ID: CAOsNvwziQ63w5PoaVfTuJjL6=MXuaeC4JSr5aUbf2kFh4MU7SA () mail ! gmail ! com
[Download RAW message or body]

On 28 January 2016 at 00:17, Józef Kucia <jkucia@codeweavers.com> wrote:
> +    if (state > WINEHIGHEST_RENDER_STATE)
> +    {
> +        WARN("Unhandled render state %#x.\n", state);
> +        return;
> +    }
It may make sense to do this for wined3d_device_get_render_state() as well.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic