From 814ce3d39c416ca7b96b23dd65e63a2de33e4326 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 21 Jun 2012 08:54:50 +0000 Subject: [PATCH] - fixed: The D3D FlatFill function ignored the alpha channel, unlike its counterpart in the paletted renderer. SVN r3702 (trunk) --- src/win32/fb_d3d9.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win32/fb_d3d9.cpp b/src/win32/fb_d3d9.cpp index 537ce2abcd..876ebdbd9b 100644 --- a/src/win32/fb_d3d9.cpp +++ b/src/win32/fb_d3d9.cpp @@ -3170,12 +3170,12 @@ void D3DFB::FlatFill(int left, int top, int right, int bottom, FTexture *src, bo quad->Group1 = 0; if (tex->GetTexFormat() == D3DFMT_L8 && !tex->IsGray) { - quad->Flags = BQF_WrapUV | BQF_GamePalette | BQF_DisableAlphaTest; + quad->Flags = BQF_WrapUV | BQF_GamePalette; // | BQF_DisableAlphaTest; quad->ShaderNum = BQS_PalTex; } else { - quad->Flags = BQF_WrapUV | BQF_DisableAlphaTest; + quad->Flags = BQF_WrapUV; // | BQF_DisableAlphaTest; quad->ShaderNum = BQS_Plain; } quad->Palette = NULL;