Józef Kucia : wined3d: Fill whole structure in find_ds_compile_args().
Module: wine Branch: master Commit: ab27a5902d53dc3ab3b3712ec2d9a8d94a3b8da1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ab27a5902d53dc3ab3b3712ec2... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Wed May 17 15:42:33 2017 +0200 wined3d: Fill whole structure in find_ds_compile_args(). Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/shader.c | 2 ++ dlls/wined3d/wined3d_private.h | 1 + 2 files changed, 3 insertions(+) diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c index 1dd8e6d..7ee867d 100644 --- a/dlls/wined3d/shader.c +++ b/dlls/wined3d/shader.c @@ -3523,6 +3523,8 @@ void find_ds_compile_args(const struct wined3d_state *state, const struct wined3 : WINED3D_SHADER_TYPE_PIXEL; args->render_offscreen = context->render_offscreen; + + args->padding = 0; } void find_gs_compile_args(const struct wined3d_state *state, const struct wined3d_shader *shader, diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index f376d41..57c2a96 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -1336,6 +1336,7 @@ struct ds_compile_args unsigned int output_count : 16; unsigned int next_shader_type : 3; unsigned int render_offscreen : 1; + unsigned int padding : 12; }; struct gs_compile_args
participants (1)
-
Alexandre Julliard