=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: WINED3DFMT_B5G5R5X1_UNORM doesn't have an alpha channel.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 2 09:21:48 CDT 2015


Module: wine
Branch: master
Commit: a887a87a90cefcd3390e96b9f2d569cdd5def23a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a887a87a90cefcd3390e96b9f2d569cdd5def23a

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Wed Sep 30 15:31:14 2015 +0200

wined3d: WINED3DFMT_B5G5R5X1_UNORM doesn't have an alpha channel.

Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>

---

 dlls/wined3d/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index d31c285..aa6eb62 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -1024,7 +1024,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
             WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING
             | WINED3DFMT_FLAG_RENDERTARGET,
             ARB_ES2_COMPATIBILITY,      NULL},
-    {WINED3DFMT_B5G5R5X1_UNORM,         GL_RGB5,                          GL_RGB5_A1,                             0,
+    {WINED3DFMT_B5G5R5X1_UNORM,         GL_RGB5,                          GL_RGB5,                                0,
             GL_BGRA,                    GL_UNSIGNED_SHORT_1_5_5_5_REV,    0,
             WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING,
             WINED3D_GL_EXT_NONE,        NULL},




More information about the wine-cvs mailing list