[PATCH 5/7] wined3d: Initialise typeless formats after all formats properties are initialised.
Józef Kucia
jkucia at codeweavers.com
Mon Sep 17 04:06:26 CDT 2018
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
dlls/wined3d/utils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 0d87ffda914e..b19f18fea45a 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -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:
--
2.16.4
More information about the wine-devel
mailing list