=?UTF-8?Q?Rico=20Sch=C3=BCller=20?=: d3dx9: Add support for D3DFMT_A16B16G16R16.
Alexandre Julliard
julliard at winehq.org
Wed Jan 16 13:47:42 CST 2013
Module: wine
Branch: master
Commit: 7c5517da6f8cc4a81b6760c5bce91eeed20e6ba2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c5517da6f8cc4a81b6760c5bce91eeed20e6ba2
Author: Rico Schüller <kgbricola at web.de>
Date: Tue Jan 15 19:25:45 2013 +0100
d3dx9: Add support for D3DFMT_A16B16G16R16.
---
dlls/d3dx9_36/util.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/d3dx9_36/util.c b/dlls/d3dx9_36/util.c
index 6d8d152..9ba54e2 100644
--- a/dlls/d3dx9_36/util.c
+++ b/dlls/d3dx9_36/util.c
@@ -59,6 +59,7 @@ static const struct pixel_format_desc formats[] =
{D3DFMT_X4R4G4B4, { 0, 4, 4, 4}, { 0, 8, 4, 0}, 2, 1, 1, 2, FORMAT_ARGB, NULL, NULL },
{D3DFMT_A2R10G10B10, { 2, 10, 10, 10}, {30, 20, 10, 0}, 4, 1, 1, 4, FORMAT_ARGB, NULL, NULL },
{D3DFMT_A2B10G10R10, { 2, 10, 10, 10}, {30, 0, 10, 20}, 4, 1, 1, 4, FORMAT_ARGB, NULL, NULL },
+ {D3DFMT_A16B16G16R16, {16, 16, 16, 16}, {48, 0, 16, 32}, 8, 1, 1, 8, FORMAT_ARGB, NULL, NULL },
{D3DFMT_G16R16, { 0, 16, 16, 0}, { 0, 0, 16, 0}, 4, 1, 1, 4, FORMAT_ARGB, NULL, NULL },
{D3DFMT_A8, { 8, 0, 0, 0}, { 0, 0, 0, 0}, 1, 1, 1, 1, FORMAT_ARGB, NULL, NULL },
{D3DFMT_A8L8, { 8, 8, 0, 0}, { 8, 0, 0, 0}, 2, 1, 1, 2, FORMAT_ARGB, la_from_rgba, la_to_rgba},
More information about the wine-cvs
mailing list