mirror of
https://github.com/memononen/nanovg
synced 2026-09-26 16:19:07 +03:00
Merge pull request #9 from r-lyeh/master
MSVC compile fix (example); win32 screenshot added
This commit is contained in:
commit
714d18a4c6
2 changed files with 6 additions and 1 deletions
|
|
@ -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
BIN
example/screenshot-02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 224 KiB |
Loading…
Add table
Add a link
Reference in a new issue