SDL_UpdateRect()

SDL_UpdateRect()

are the co-ords inclusive or exclusive ?
if i pass a height of zero, does it still invalidate the line ‘y’ ?

could this be added to the documentation ?

SDL_UpdateRect()

are the co-ords inclusive or exclusive ?
if i pass a height of zero, does it still invalidate the line ‘y’ ?

Inclusive. A height of zero really is a height of zero.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment