Commit 454f8798 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Initialise typeless formats after all formats properties are initialised.

parent 34b7e19c
...@@ -3954,10 +3954,11 @@ BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter, struct wi ...@@ -3954,10 +3954,11 @@ BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter, struct wi
apply_format_fixups(adapter, gl_info); apply_format_fixups(adapter, gl_info);
init_format_fbo_compat_info(adapter, ctx); init_format_fbo_compat_info(adapter, ctx);
init_format_filter_info(adapter, gl_info); init_format_filter_info(adapter, gl_info);
if (!init_typeless_formats(adapter)) goto fail;
init_format_gen_mipmap_info(adapter, gl_info); init_format_gen_mipmap_info(adapter, gl_info);
init_format_depth_bias_scale(adapter, ctx); init_format_depth_bias_scale(adapter, ctx);
if (!init_typeless_formats(adapter)) goto fail;
return TRUE; return TRUE;
fail: fail:
......
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