• Sam Lantinga's avatar
    From: "Mattias Engdeg�rd" <f91-men@nada.kth.se> · a3b1aa2d
    Sam Lantinga authored
    To: slouken@devolution.com
    Subject: Re: [SDL] Question about SDL_FillRect()
    
    I benchmarked with and without clipping UpdateRects and was unable to find
    any difference on my moderately slow machine. Anyway, I haven't added
    clipping in this patch, but fixed a couple of bugs and generally cleaned
    up some of the X11 image code. Most importantly, UpdateRects now checks
    for both zero height and width. Also, I eliminated the entire code to
    byteswap X11 images since X11 can do that automatically if you ask it
    nicely :-)
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40271
    a3b1aa2d
SDL_x11image.c 8.13 KB