[PATCH v2 1/5] wined3d: Introduce a prepare_upload_bo device context operation and use it to upload sub-resource data.

Henri Verbeet hverbeet at gmail.com
Wed Jun 30 07:13:54 CDT 2021


On Wed, 30 Jun 2021 at 06:33, Zebediah Figura <z.figura12 at gmail.com> wrote:
> +static void *wined3d_deferred_context_prepare_upload_bo(struct wined3d_device_context *context,
> +        struct wined3d_resource *resource, unsigned int sub_resource_idx, const struct wined3d_box *box,
> +        unsigned int row_pitch, unsigned int slice_pitch, uint32_t flags, struct wined3d_const_bo_address *address)
> +{
> +    FIXME("context %p, resource %p, sub_resource_idx %u, box %p, flags %#x, address %p, stub!\n",
> +            context, resource, sub_resource_idx, box, flags, address);
> +    return false;
> +}
> +
That works, but should probably be "return NULL;" instead.



More information about the wine-devel mailing list