wined3d: Initialise typeless formats after all formats properties are initialised.
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
34b7e19cdb
commit
454f87980a
|
@ -3954,10 +3954,11 @@ BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter, struct wi
|
|||
apply_format_fixups(adapter, gl_info);
|
||||
init_format_fbo_compat_info(adapter, ctx);
|
||||
init_format_filter_info(adapter, gl_info);
|
||||
if (!init_typeless_formats(adapter)) goto fail;
|
||||
init_format_gen_mipmap_info(adapter, gl_info);
|
||||
init_format_depth_bias_scale(adapter, ctx);
|
||||
|
||||
if (!init_typeless_formats(adapter)) goto fail;
|
||||
|
||||
return TRUE;
|
||||
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue