bgfx/examples/common/nanovg
Miha Lunar 6c6a550fd6 Fix for convexFill crash when path fillCount is 0
In our situation, the crash happened due to the view dimensions being reset to 0x0 after minimizing the window. This translated to fillCount of a path ending up at 0, which makes `fan` crash as it computes number of tris to -2 of fillCount. Since `numTris` is unsigned, this could lead to terrible things, but luckily it crashes soon.

There might be a cleaner fix for this further up the call stack, but this is a good solution in the meanwhile.
2014-11-21 00:39:04 +01:00
..
fontstash.h Cleanup. 2014-11-17 21:35:53 -08:00
fs_nanovg_fill.bin.h Updated glsl-optimizer. 2014-10-11 12:32:43 -07:00
fs_nanovg_fill.sc Fixed half texel offset in NanoVG for DX9. 2014-04-29 19:52:42 -07:00
makefile Fixing paths. 2014-09-10 21:48:08 -07:00
nanovg_bgfx.cpp Fix for convexFill crash when path fillCount is 0 2014-11-21 00:39:04 +01:00
nanovg.cpp Fixed GCC/Clang warnings. 2014-11-17 08:33:14 -08:00
nanovg.h Updated NanoVG and Blendish. 2014-11-16 18:59:17 -08:00
varying.def.sc Added 20-nanovg example. 2014-04-26 23:50:11 -07:00
vs_nanovg_fill.bin.h Updated glsl-optimizer. 2014-10-11 12:32:43 -07:00
vs_nanovg_fill.sc Fixed half texel offset in NanoVG for DX9. 2014-04-29 19:52:42 -07:00