SDL_UpdateRect behaviour

Hi all, I was using quartz debug (an quartz performance tool) and noticed
that in the final bitmap->screen stage of my dirty rect code, the rectangle
being drawn was hardly minimal. Of course! I was updating the
entire window, using:

SDL_UpdateRect(0, 0, 0, 0);

So I tried updating just a part of the window, e.g.:

SDL_UpdateRect(10, 10, 100, 100);

but that produces no output. If I didn’t know better I’d go looking
for a flush function, but SDL_UpdateRect IS the flush function.
I’m not using any fancy video modes, just SDL_ANYFORMAT.
Noticed the problem on osx 10.4.9 intel with SDLs 1.2.10 and 1.2.12
(I use 1.2.10 on the mac because you still can’t set the cursor to
anything but the arrow in fullscreen mode).

What to do? Perhaps SDL_UpdateRects with just one rectangle.–
felix: lightweight threads, HOFs and game scripting.
svn co https://svn.sourceforge.net/svnroot/felix/felix/trunk felix