mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Merge pull request #186 from SmilyOrg/patch-1
Fix for convexFill crash when path fillCount is 0
This commit is contained in:
@@ -620,6 +620,7 @@ namespace
|
||||
|
||||
for (i = 0; i < npaths; i++)
|
||||
{
|
||||
if (paths[i].fillCount == 0) continue;
|
||||
bgfx::setProgram(gl->prog);
|
||||
bgfx::setState(gl->state);
|
||||
bgfx::setVertexBuffer(&gl->tvb);
|
||||
|
||||
Reference in New Issue
Block a user