(XUI) Use new d3d format function too

This commit is contained in:
twinaphex 2018-01-20 16:47:59 +01:00
parent 4a5de7ed6a
commit e1ec0e578c

View File

@ -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,