Define NANOSVG_ALL_COLOR_KEYWORDS before including NanoSVG
When NANOSVG_ALL_COLOR_KEYWORDS is not defined, only 10 of the 147 SVG named colors are recognized and all the others are displayed as black.
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
|
||||
#define NANOSVG_IMPLEMENTATION
|
||||
#define NANOSVGRAST_IMPLEMENTATION
|
||||
#define NANOSVG_ALL_COLOR_KEYWORDS
|
||||
#include "../../3rdparty/nanosvg/src/nanosvg.h"
|
||||
#include "../../3rdparty/nanosvg/src/nanosvgrast.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user