wined3d: Always mark vertex buffers as used in context_apply_draw_state().
commit68339456a8f7543ae46ac504c2ce7f4f0221a789
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 14 Jul 2014 08:04:21 +0000 (14 10:04 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Jul 2014 17:26:17 +0000 (14 19:26 +0200)
tree9219ce3ea01f5cbb79bf500743ccf45d75298330
parent3013b6c6da9f02fa7afc3b49a036d063d4c4837a
wined3d: Always mark vertex buffers as used in context_apply_draw_state().

The issue this solves is that buffer_internal_preload() is only called when
STATE_VDECL or STATE_STREAMSRC is invalidated, but that doesn't happen for
regular buffer maps. We'd like to be able to just call
buffer_internal_preload() here, but buffer_internal_preload() has dependencies
on context_stream_info_from_declaration() and vice versa.
dlls/wined3d/buffer.c
dlls/wined3d/context.c
dlls/wined3d/wined3d_private.h