Re: [PATCH 5/9] wined3d: Implement wined3d_buffer_prepare_location() for WINED3D_LOCATION_BUFFER.
21 Oct
2016
21 Oct
'16
11:15 a.m.
On 20 October 2016 at 12:50, Józef Kucia <jkucia(a)codeweavers.com> wrote:
@@ -612,7 +619,7 @@ void buffer_get_memory(struct wined3d_buffer *buffer, struct wined3d_context *co { if ((buffer->flags & WINED3D_BUFFER_USE_BO) && !buffer->resource.map_count) { - buffer_create_buffer_object(buffer, context); + wined3d_buffer_prepare_location(buffer, context, WINED3D_LOCATION_BUFFER); if (buffer->buffer_object) Note that that should be equivalent to "if (wined3d_buffer_prepare_location(buffer, context, WINED3D_LOCATION_BUFFER))".
3342
Age (days ago)
3342
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet