// This source file compiles those annoying implementation-in-header libraries #define GLEW_STATIC #define GLEW_NO_GLU #include #include #define NANOVG_GL2_IMPLEMENTATION // #define NANOVG_GL3_IMPLEMENTATION // #define NANOVG_GLES2_IMPLEMENTATION // #define NANOVG_GLES3_IMPLEMENTATION #include // Hack to get framebuffer objects working on OpenGL 2 (we blindly assume the extension is supported) #define NANOVG_FBO_VALID #include #define BLENDISH_IMPLEMENTATION #include #define NANOSVG_IMPLEMENTATION #define NANOSVG_ALL_COLOR_KEYWORDS #include #define STB_IMAGE_WRITE_IMPLEMENTATION #include