Commit ae0bdd9a authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Pass "quality_levels" as an unsigned int pointer to…

wined3d: Pass "quality_levels" as an unsigned int pointer to wined3d_check_device_multisample_type(). The equivalent d3d11 function takes a UINT pointer, while the equivalent d3d9 function takes a DWORD pointer. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 0a31c405
......@@ -1650,7 +1650,7 @@ HRESULT CDECL wined3d_check_depth_stencil_match(const struct wined3d_adapter *ad
HRESULT CDECL wined3d_check_device_multisample_type(const struct wined3d_adapter *adapter,
enum wined3d_device_type device_type, enum wined3d_format_id surface_format_id, BOOL windowed,
enum wined3d_multisample_type multisample_type, DWORD *quality_levels)
enum wined3d_multisample_type multisample_type, unsigned int *quality_levels)
{
const struct wined3d_format *format;
HRESULT hr = WINED3D_OK;
......
......@@ -2323,7 +2323,7 @@ HRESULT __cdecl wined3d_check_device_format_conversion(const struct wined3d_outp
enum wined3d_format_id target_format_id);
HRESULT __cdecl wined3d_check_device_multisample_type(const struct wined3d_adapter *adapter,
enum wined3d_device_type device_type, enum wined3d_format_id surface_format_id, BOOL windowed,
enum wined3d_multisample_type multisample_type, DWORD *quality_levels);
enum wined3d_multisample_type multisample_type, unsigned int *quality_levels);
HRESULT __cdecl wined3d_check_device_type(const struct wined3d *wined3d,
const struct wined3d_output *output, enum wined3d_device_type device_type,
enum wined3d_format_id display_format_id, enum wined3d_format_id backbuffer_format_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment