From e1ec0e578c9c46952add9504c6ce454640f4a416 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Jan 2018 16:47:59 +0100 Subject: [PATCH] (XUI) Use new d3d format function too --- menu/drivers/xui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/xui.cpp b/menu/drivers/xui.cpp index eab7da155c..7ce5fa0103 100644 --- a/menu/drivers/xui.cpp +++ b/menu/drivers/xui.cpp @@ -235,7 +235,7 @@ HRESULT XuiTextureLoader(IXuiDevice *pDevice, LPCWSTR szFileName, D3DX_DEFAULT_NONPOW2, 1, D3DUSAGE_CPU_CACHED_MEMORY, - D3DFMT_LIN_A8R8G8B8, + d3d_get_argb8888_format(), D3DPOOL_DEFAULT, D3DX_FILTER_NONE, D3DX_FILTER_NONE,