wined3d: Don't try to access unused buffers in wined3d_context_gl_load_numbered_arrays().
commitd6e4e944af1c93dbb8ffeaab62d14af42fe8b738
authorMatteo Bruni <mbruni@codeweavers.com>
Wed, 14 Sep 2022 21:07:17 +0000 (14 23:07 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 30 Nov 2022 19:38:27 +0000 (30 20:38 +0100)
treeddba6848220fa0f875c562f638f22e1d7a58ba51
parent53bc6c7a4a416252559a2a174821001fdd576c6f
wined3d: Don't try to access unused buffers in wined3d_context_gl_load_numbered_arrays().

wined3d_stream_info_from_declaration() doesn't update elements of the
stream_info structure that are not used by the current vertex
declaration. That means that there might be obsolete buffer references
in stream_info, possibly to buffers that have since been destroyed.
dlls/wined3d/context_gl.c