[PATCH 1/6] wined3d: Add wined3d creation flag for selecting unbound resource color.

Henri Verbeet hverbeet at gmail.com
Fri May 20 08:20:01 CDT 2016


On 20 May 2016 at 11:47, Józef Kucia <jkucia at codeweavers.com> wrote:
> diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
> index 8429bea..79ac440 100644
> --- a/include/wine/wined3d.h
> +++ b/include/wine/wined3d.h
> @@ -1237,6 +1237,7 @@ enum wined3d_display_rotation
>  #define WINED3D_PIXEL_CENTER_INTEGER                            0x00000080
>  #define WINED3D_LEGACY_FFP_LIGHTING                             0x00000100
>  #define WINED3D_SRGB_READ_WRITE_CONTROL                         0x00000200
> +#define WINED3D_UNBOUND_RESOURCE_COLOR_ZERO                     0x00000400
>
We generally try to make the "reasonable" behaviours the defaults, and
only have flags for extra functionality or more quirky behaviours. In
this case it's perhaps arguable what the default should be, but all
zeroes seems like the more reasonable default to me.



More information about the wine-devel mailing list