mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add missing map.h include in color defs
(cherry picked from commit 5e13a762ec)
This commit is contained in:
parent
2664549916
commit
d4e0be7632
1 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
// Names from https://en.wikipedia.org/wiki/List_of_colors (through https://raw.githubusercontent.com/SuperUserNameMan/color_to_name/616a7cddafefda91478b7bc26167de97fb5badb1/godot_version.gd), slightly edited and normalized
|
// Names from https://en.wikipedia.org/wiki/List_of_colors (through https://raw.githubusercontent.com/SuperUserNameMan/color_to_name/616a7cddafefda91478b7bc26167de97fb5badb1/godot_version.gd), slightly edited and normalized
|
||||||
|
#include "map.h"
|
||||||
|
|
||||||
static Map<String, Color> _named_colors;
|
static Map<String, Color> _named_colors;
|
||||||
static void _populate_named_colors() {
|
static void _populate_named_colors() {
|
||||||
if(!_named_colors.empty()) return;
|
if(!_named_colors.empty()) return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue