From eb522056456644f79c05e19ee611ac1704fd065d Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Wed, 19 Feb 2020 09:53:52 -0600 Subject: [PATCH] wined3d: Remove the no longer used extra stream state. This was used to implement high level patches, which were removed in 149a85c2e. Signed-off-by: Zebediah Figura Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/wined3d_private.h | 2 +- include/wine/wined3d.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index d29dfc312b2..444e8fdf639 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -3179,7 +3179,7 @@ struct wined3d_state struct wined3d_vertex_declaration *vertex_declaration; struct wined3d_stream_output stream_output[WINED3D_MAX_STREAM_OUTPUT_BUFFERS]; - struct wined3d_stream_state streams[WINED3D_MAX_STREAMS + 1 /* tessellated pseudo-stream */]; + struct wined3d_stream_state streams[WINED3D_MAX_STREAMS]; struct wined3d_buffer *index_buffer; enum wined3d_format_id index_format; unsigned int index_offset; diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h index fa5682e5bd5..908a1c92668 100644 --- a/include/wine/wined3d.h +++ b/include/wine/wined3d.h @@ -2141,7 +2141,7 @@ struct wined3d_stream_state struct wined3d_stateblock_state { struct wined3d_vertex_declaration *vertex_declaration; - struct wined3d_stream_state streams[WINED3D_MAX_STREAMS + 1]; + struct wined3d_stream_state streams[WINED3D_MAX_STREAMS]; struct wined3d_buffer *index_buffer; enum wined3d_format_id index_format; int base_vertex_index;