Henri Verbeet : wined3d: Support wined3d_texture_get_dc() on WINED3DFMT_B4G4R4A4_UNORM and WINED3DFMT_B4G4R4X4_UNORM textures.
Alexandre Julliard
julliard at winehq.org
Thu Nov 17 17:45:58 CST 2016
Module: wine
Branch: master
Commit: bf3c65c6d8ec21c59f257a10b53912e486b2e3ff
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bf3c65c6d8ec21c59f257a10b53912e486b2e3ff
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Nov 17 12:11:36 2016 +0100
wined3d: Support wined3d_texture_get_dc() on WINED3DFMT_B4G4R4A4_UNORM and WINED3DFMT_B4G4R4X4_UNORM textures.
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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},
};
More information about the wine-cvs
mailing list