these two functions from IVideoDriver have an inconsistency in that draw2DRectangleOutlines rectangle is in the first argument and draw2DRectangles is in the second.
Code: Select all
draw2DRectangleOutline (const core::recti &pos, SColor color=SColor(255, 255, 255, 255))
draw2DRectangle (SColor color, const core::rect< s32 > &pos, const core::rect< s32 > *clip=0)