From 76121ec152a1e1296664ae4d960beab5d235e85a Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Fri, 27 Dec 2019 13:51:57 -0500 Subject: [PATCH] Fix the default blend mode. --HG-- branch : minor --- src/modules/graphics/Graphics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/Graphics.h b/src/modules/graphics/Graphics.h index 6754f0172..8bb0e19f7 100644 --- a/src/modules/graphics/Graphics.h +++ b/src/modules/graphics/Graphics.h @@ -889,7 +889,7 @@ protected: Colorf color = Colorf(1.0, 1.0, 1.0, 1.0); Colorf backgroundColor = Colorf(0.0, 0.0, 0.0, 1.0); - BlendState blend; + BlendState blend = computeBlendState(BLEND_ALPHA, BLENDALPHA_MULTIPLY); float lineWidth = 1.0f; LineStyle lineStyle = LINE_SMOOTH;