mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 17:55:17 -05:00
Save opaque alpha in the destination, fixes white spotlight in testalpha on Mac OS X.
This commit is contained in:
@@ -971,7 +971,7 @@ SDL_RLEBlit(SDL_Surface * src, SDL_Rect * srcrect,
|
||||
s &= 0xff00; \
|
||||
d &= 0xff00; \
|
||||
d = (d + ((s - d) * alpha >> 8)) & 0xff00; \
|
||||
dst = d1 | d; \
|
||||
dst = d1 | d | 0xff000000; \
|
||||
} while(0)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user