From 6178429d5adf58ca6ae7b25a6d80fb41d861a9d4 Mon Sep 17 00:00:00 2001 From: Turanszki Janos Date: Tue, 22 Sep 2020 22:42:02 +0200 Subject: [PATCH] font renderer blend state fix --- WickedEngine/wiFont.cpp | 2 +- WickedEngine/wiVersion.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WickedEngine/wiFont.cpp b/WickedEngine/wiFont.cpp index e4e6f26a8..09cef5c89 100644 --- a/WickedEngine/wiFont.cpp +++ b/WickedEngine/wiFont.cpp @@ -324,7 +324,7 @@ void Initialize() BlendStateDesc bd; bd.RenderTarget[0].BlendEnable = true; - bd.RenderTarget[0].SrcBlend = BLEND_ONE; + bd.RenderTarget[0].SrcBlend = BLEND_SRC_ALPHA; bd.RenderTarget[0].DestBlend = BLEND_INV_SRC_ALPHA; bd.RenderTarget[0].BlendOp = BLEND_OP_ADD; bd.RenderTarget[0].SrcBlendAlpha = BLEND_ONE; diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index 65764997d..34a2a4b81 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wiVersion // minor features, major updates, breaking API changes const int minor = 47; // minor bug fixes, alterations, refactors, updates - const int revision = 38; + const int revision = 39; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);