# HG changeset patch # User Sam Lantinga # Date 1228092079 0 # Node ID b039bfa19ccdfddb22a2f6c290517c8cddfa9c06 # Parent 22e393158355bc21a0624cc4cb90f9ed430ed205 Save opaque alpha in the destination, fixes white spotlight in testalpha on Mac OS X. diff -r 22e393158355 -r b039bfa19ccd src/video/SDL_RLEaccel.c --- a/src/video/SDL_RLEaccel.c Mon Dec 01 00:41:15 2008 +0000 +++ b/src/video/SDL_RLEaccel.c Mon Dec 01 00:41:19 2008 +0000 @@ -971,7 +971,7 @@ s &= 0xff00; \ d &= 0xff00; \ d = (d + ((s - d) * alpha >> 8)) & 0xff00; \ - dst = d1 | d; \ + dst = d1 | d | 0xff000000; \ } while(0) /*