H. Verbeet : wined3d: Report post pixelshader blending on WINED3DFMT_A16B16G16R16F.

Alexandre Julliard julliard at winehq.org
Mon Jun 23 07:35:47 CDT 2008


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

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Mon Jun 23 00:22:19 2008 +0200

wined3d: Report post pixelshader blending on WINED3DFMT_A16B16G16R16F.

---

 dlls/wined3d/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index d2883da..5a02717 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -168,7 +168,7 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
     {WINED3DFMT_G16R16F        ,0                                ,0                                      , 0,           0                         ,0
         ,WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_RENDERTARGET },
     {WINED3DFMT_A16B16G16R16F  ,GL_RGBA16F_ARB                   ,GL_RGBA16F_ARB                         , 0,           GL_RGBA                   ,GL_HALF_FLOAT_ARB
-        ,WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_RENDERTARGET },
+        ,WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_RENDERTARGET },
     /* Palettized formats */
     {WINED3DFMT_A8P8,           0                                ,0                                      , 0,           0                         ,0
         ,0 },




More information about the wine-cvs mailing list