Currently immBegin & immEnd fails drawing zero elements.
I don't think this is a reasonable limitation:
- it means you need to remember to check for corner cases (which migh not be found between releases).
- it may complicate code to have to check for the unlikely case where nothing is drawn (which might not be obvious ahead of time).
- these cases are harmless NOP's, gawain can safely do nothing, keeping things simple for the caller.