From 9418f6a557e0a0d9233cbdc4f222e3a5d9fd3a39 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Fri, 8 Feb 2019 22:44:52 +0100 Subject: [PATCH] Fixed undefined setting values when loading dynamic fonts --- scene/resources/dynamic_font.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scene/resources/dynamic_font.h b/scene/resources/dynamic_font.h index 39e81ca43d7a..887c7b42c89b 100644 --- a/scene/resources/dynamic_font.h +++ b/scene/resources/dynamic_font.h @@ -54,8 +54,9 @@ public: struct { uint32_t size : 16; uint32_t outline_size : 8; - bool mipmaps : 1; - bool filter : 1; + uint32_t mipmaps : 1; + uint32_t filter : 1; + uint32_t unused : 6; }; uint32_t key; };