[PATCH 5/9] wined3d: Implement wined3d_buffer_prepare_location() for WINED3D_LOCATION_BUFFER.
Henri Verbeet
hverbeet at gmail.com
Fri Oct 21 06:15:17 CDT 2016
On 20 October 2016 at 12:50, Józef Kucia <jkucia at 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))".
More information about the wine-devel
mailing list