[PATCH 2/5] wined3d: Pass a wined3d_device_context to wined3d_device_get_depth_stencil_view().

Henri Verbeet hverbeet at gmail.com
Tue Apr 20 11:59:27 CDT 2021


On Tue, 20 Apr 2021 at 06:38, Zebediah Figura <z.figura12 at gmail.com> wrote:
> @@ -2385,7 +2385,8 @@ struct wined3d_shader_resource_view * __cdecl wined3d_device_get_cs_resource_vie
>  struct wined3d_sampler * __cdecl wined3d_device_get_cs_sampler(const struct wined3d_device *device, unsigned int idx);
>  struct wined3d_unordered_access_view * __cdecl wined3d_device_get_cs_uav(const struct wined3d_device *device,
>          unsigned int idx);
> -struct wined3d_rendertarget_view * __cdecl wined3d_device_get_depth_stencil_view(const struct wined3d_device *device);
> +struct wined3d_rendertarget_view * __cdecl wined3d_device_context_get_depth_stencil_view(
> +        const struct wined3d_device_context *context);

It would probably be best to move this down a bit, among the other
wined3d_device_context functions.



More information about the wine-devel mailing list