Commit 76d2dbd2 authored by Sam Lantinga's avatar Sam Lantinga

Save opaque alpha in the destination, fixes white spotlight in testalpha on Mac OS X.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403278
parent 8820fed8
...@@ -971,7 +971,7 @@ SDL_RLEBlit(SDL_Surface * src, SDL_Rect * srcrect, ...@@ -971,7 +971,7 @@ SDL_RLEBlit(SDL_Surface * src, SDL_Rect * srcrect,
s &= 0xff00; \ s &= 0xff00; \
d &= 0xff00; \ d &= 0xff00; \
d = (d + ((s - d) * alpha >> 8)) & 0xff00; \ d = (d + ((s - d) * alpha >> 8)) & 0xff00; \
dst = d1 | d; \ dst = d1 | d | 0xff000000; \
} while(0) } while(0)
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment