Browse Source

MSVC compile fix (example); win32 screenshot added

shared-context
r-lyeh 11 years ago
parent
commit
0da08eec2e
2 changed files with 6 additions and 1 deletions
  1. +6
    -1
      example/example.c
  2. BIN
      example/screenshot-02.png

+ 6
- 1
example/example.c 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 View File

Before After
Width: 1016  |  Height: 638  |  Size: 224KB

Loading…
Cancel
Save