diff --git a/example/example.c b/example/example.c index b2e88c3..4dd0ec0 100644 --- a/example/example.c +++ b/example/example.c @@ -18,7 +18,6 @@ #include #include -#include #include #ifdef NANOVG_GLEW # include @@ -28,6 +27,12 @@ #define GLNANOVG_IMPLEMENTATION #include "glnanovg.h" +#ifdef _MSC_VER +#define snprintf _snprintf +#else +#include +#endif + #define ICON_SEARCH 0x1F50D #define ICON_CIRCLED_CROSS 0x2716 #define ICON_CHEVRON_RIGHT 0xE75E diff --git a/example/screenshot-02.png b/example/screenshot-02.png new file mode 100644 index 0000000..7cfa4bc Binary files /dev/null and b/example/screenshot-02.png differ