DrawNode::drawPolygon offset hack

I want to draw solid polygons without texture mapping and I have been struggling with DrawNode::drawPolygon. It uses some kind of offset/inset to adjust for the border (I think), this interferes with small polygons… and I don’t want any borders. I hacked CCDrawNode.cpp and set the inset and border values to 0.0 to get around the problem. However I wonder if there are any other methods to draw solid polygons that doesn’t involve any hacks. My modifications:

//float inset = (outline == 0.0 ? 0.5 : 0.0);
float inset=0.0;

/*Vertex2F inner0 = v2fsub(v0, v2fmult(offset0, 0.5));
Vertex2F inner1 = v2fsub(v1, v2fmult(offset1, 0.5));
Vertex2F outer0 = v2fadd(v0, v2fmult(offset0, 0.5));
Vertex2F outer1 = v2fadd(v1, v2fmult(offset1, 0.5));*/

Vertex2F inner0 = v2fsub(v0, v2fmult(offset0, 0.0));
Vertex2F inner1 = v2fsub(v1, v2fmult(offset1, 0.0));
Vertex2F outer0 = v2fadd(v0, v2fmult(offset0, 0.0));
Vertex2F outer1 = v2fadd(v1, v2fmult(offset1, 0.0));

Thanks for reading!