[PATCH 2/2] wined3d: Support wined3d_texture_get_dc() on WINED3DFMT_B4G4R4A4_UNORM and WINED3DFMT_B4G4R4X4_UNORM textures.
Henri Verbeet
hverbeet at codeweavers.com
Thu Nov 17 05:11:36 CST 2016
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
dlls/wined3d/utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 6d23388..1255a9a 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -287,6 +287,8 @@ static const struct wined3d_format_ddi_info ddi_formats[] =
{WINED3DFMT_B5G6R5_UNORM, D3DDDIFMT_R5G6B5},
{WINED3DFMT_B5G5R5X1_UNORM, D3DDDIFMT_X1R5G5B5},
{WINED3DFMT_B5G5R5A1_UNORM, D3DDDIFMT_A1R5G5B5},
+ {WINED3DFMT_B4G4R4A4_UNORM, D3DDDIFMT_A4R4G4B4},
+ {WINED3DFMT_B4G4R4X4_UNORM, D3DDDIFMT_X4R4G4B4},
{WINED3DFMT_P8_UINT, D3DDDIFMT_P8},
};
--
2.1.4
More information about the wine-patches
mailing list