[PATCH 8/9] wined3d: Handle color key dirtification in wined3d_cs_exec_set_texture.

Henri Verbeet hverbeet at gmail.com
Fri Apr 10 06:18:41 CDT 2015


On 9 April 2015 at 22:48, Stefan Dösinger <stefan at codeweavers.com> wrote:
> diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
> index eb5c3b0..a888552 100644
> --- a/dlls/wined3d/wined3d_private.h
> +++ b/dlls/wined3d/wined3d_private.h
> @@ -1068,7 +1068,10 @@ DWORD get_flexible_vertex_size(DWORD d3dvtVertexType) DECLSPEC_HIDDEN;
>  #define STATE_POINT_SIZE_ENABLE (STATE_FRAMEBUFFER + 1)
>  #define STATE_IS_POINT_SIZE_ENABLE(a) ((a) == STATE_POINT_SIZE_ENABLE)
>
> -#define STATE_HIGHEST (STATE_POINT_SIZE_ENABLE)
> +#define STATE_COLOR_KEY (STATE_POINT_SIZE_ENABLE + 1)
You should handle this in debug_d3dstate() and validate_state_table() as well.



More information about the wine-devel mailing list