defining round function isn't required for vs2013 or newer.

This commit is contained in:
Andrew Copland 2014-06-08 19:03:06 +01:00
parent 0f330a7a08
commit 82ad57e3fc

View file

@ -833,10 +833,12 @@ void freeDemoData(struct NVGcontext* vg, struct DemoData* data)
nvgDeleteImage(vg, data->images[i]);
}
#if _MSC_VER < 1800
inline float round(float _f)
{
return float(int(_f) );
}
#endif
void drawParagraph(struct NVGcontext* vg, float x, float y, float width, float height, float mx, float my)
{