Just pointing out that there seems to be a bug with IVideoDriver::draw2DRectangle. If you try and use this as your first draw call then it doesn't show up on iOS and flashes randomly on Windows.

Stepping through the code it appears to send off the render call just fine and using the function after calls to IVideoDriver::draw2DImage work fine so I'm assuming it's some of the render setup not being done correctly. I've got a feeling it could be down to the blend mode or something but I've not managed to look into it enough yet.

I may well look further into it but it's probably not going to be crucial for my project so it may get left behind, just thought I'd put this up here so that others are aware