summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-02-08 22:44:52 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2019-02-12 23:21:48 +0100
commit9418f6a557e0a0d9233cbdc4f222e3a5d9fd3a39 (patch)
tree7dbaeda491a9a7ed2c8112455e1fd88ffa6b50a1 /scene
parent869887641f3d31f19837a34da116039a26618cb0 (diff)
Fixed undefined setting values when loading dynamic fonts
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/dynamic_font.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/scene/resources/dynamic_font.h b/scene/resources/dynamic_font.h
index 39e81ca43d..887c7b42c8 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;
};