MSVC compile fix (example); win32 screenshot added

master
r-lyeh 2014-02-08 20:28:41 +01:00
parent 6773ef52de
commit 0da08eec2e
2 changed files with 6 additions and 1 deletions

View File

@ -18,7 +18,6 @@
#include <stdio.h>
#include <string.h>
#include <iconv.h>
#include <math.h>
#ifdef NANOVG_GLEW
# include <GL/glew.h>
@ -28,6 +27,12 @@
#define GLNANOVG_IMPLEMENTATION
#include "glnanovg.h"
#ifdef _MSC_VER
#define snprintf _snprintf
#else
#include <iconv.h>
#endif
#define ICON_SEARCH 0x1F50D
#define ICON_CIRCLED_CROSS 0x2716
#define ICON_CHEVRON_RIGHT 0xE75E

BIN
example/screenshot-02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB