wined3d: Fill whole structure in find_ds_compile_args().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f6cbdd8a4c
commit
ab27a5902d
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue