Zebediah Figura : wined3d: Remove the no longer used extra stream state.

Alexandre Julliard julliard at winehq.org
Thu Feb 20 18:26:11 CST 2020


Module: wine
Branch: master
Commit: eb522056456644f79c05e19ee611ac1704fd065d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=eb522056456644f79c05e19ee611ac1704fd065d

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Feb 19 09:53:52 2020 -0600

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 <z.figura12 at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list