From 676a1e36020a7d991f275ebd785107c6a9ecfb17 Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 23 Dec 2023 17:30:08 +0000 Subject: [PATCH] v_draw.cpp Chain::fill: Ensure flags are passed to V_DrawFill Fixes non-green resolution for tutorial dialogue --- src/v_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_draw.cpp b/src/v_draw.cpp index 17ed5bdae..3aa074ed1 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -56,7 +56,7 @@ void Chain::fill(UINT8 color) const { const auto _ = Clipper(*this); - V_DrawFill(x_, y_, width_, height_, color); + V_DrawFill(x_, y_, width_, height_, color|(flags_ & ~0xFF)); } void Chain::string(const char* str, INT32 flags, Font font) const