[PATCH v2 3/8] wined3d: Remove the no longer used extra stream state.

Zebediah Figura z.figura12 at gmail.com
Wed Feb 19 09:23:30 CST 2020


This was used to implement high level patches, which were removed in 149a85c2e.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 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 d29dfc312b..444e8fdf63 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 fa5682e5bd..908a1c9266 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;
-- 
2.25.0




More information about the wine-devel mailing list